Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions config/cliproxyapi/config.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ openai-compatibility:
models:
- name: "minimax-m2.5"
alias: "minimax-m2.5"
- name: "minimax"
base-url: "https://api.minimax.io/v1"
api-key-entries:
- api-key: "__MINIMAX_API_KEY__"
models:
- name: "MiniMax-M2.5"
alias: "minimax-m2.5"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
# payload: # Optional payload configuration
# default: # Default rules only set parameters when they are missing in the payload.
# - models:
Expand Down
1 change: 1 addition & 0 deletions home-manager/services/cliproxyapi/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ if [ -f "$TEMPLATE" ]; then
-e "s|__OPENROUTER_API_KEY__|${OPENROUTER_API_KEY:-}|g" \
-e "s|__CLIPROXY_MANAGEMENT_PASSWORD__|${CLIPROXY_MANAGEMENT_PASSWORD:-}|g" \
-e "s|__ZAI_API_KEY__|${ZAI_API_KEY:-}|g" \
-e "s|__MINIMAX_API_KEY__|${MINIMAX_API_KEY:-}|g" \
-e "s|__AMP_UPSTREAM_API_KEY__|${AMP_UPSTREAM_API_KEY:-}|g" \
"$TEMPLATE" >"$CONFIG"

Expand Down
Loading