Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ OPENCLAW_TELEGRAM_TOKEN=123456789:ABCdefGHIjklMNOpqrsTUVwxyz
OPENCLAW_ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
# Gateway token for remote mode clients (from kyber: cat ~/.config/openclaw/gateway-token)
OPENCLAW_GATEWAY_TOKEN=your-gateway-token-here
# OpenCode API key for minimax-m2.5 access via cliproxyapi
# OpenCode API key for OpenCode Go access via cliproxyapi

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The OPENCODE_API_KEY comment no longer mentions which upstream access this enables. Since the local CLIProxyAPI config maps OPENCODE_API_KEY to the opencode provider for the minimax-m2.7 model, consider mentioning minimax-m2.7 (or opencode.ai + minimax) here to reduce user confusion when setting secrets.

Suggested change
# OpenCode API key for OpenCode Go access via cliproxyapi
# OpenCode (opencode.ai) API key for CLIProxyAPI opencode provider (minimax-m2.7 model)

Copilot uses AI. Check for mistakes.
OPENCODE_API_KEY=your-opencode-api-key-here
4 changes: 2 additions & 2 deletions config/cliproxyapi/config.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ openai-compatibility:
api-key-entries:
- api-key: "__OPENCODE_API_KEY__"
models:
- name: "minimax-m2.5"
alias: "minimax-m2.5"
- name: "minimax-m2.7"
alias: "minimax-m2.7"
# payload: # Optional payload configuration
# default: # Default rules only set parameters when they are missing in the payload.
# - models:
Expand Down
6 changes: 3 additions & 3 deletions config/openclaw/openclaw.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
"maxTokens": 32000
},
{
"id": "minimax-m2.5",
"name": "Minimax M2.5",
"id": "minimax-m2.7",
"name": "Minimax M2.7",
"reasoning": false,
"input": [
"text",
Expand Down Expand Up @@ -190,7 +190,7 @@
"agents": {
"defaults": {
"model": {
"primary": "cliproxy/minimax-m2.5",
"primary": "cliproxy/minimax-m2.7",
"fallbacks": [
"cliproxy/claude-opus-4-6",
"cliproxy/glm-4.7",
Expand Down
4 changes: 2 additions & 2 deletions config/opencode/opencode.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
"glm-4.7": {
"name": "GLM 4.7 (via local CLIProxyAPI)"
},
"minimax-m2.5": {
"name": "Minimax M2.5 (via local CLIProxyAPI)"
"minimax-m2.7": {
"name": "Minimax M2.7 (via local CLIProxyAPI)"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions config/pi/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
"maxTokens": 8192
},
{
"id": "minimax-m2.5",
"name": "Minimax M2.5",
"id": "minimax-m2.7",
"name": "Minimax M2.7",
"reasoning": true,
"input": [
"text",
Expand Down
2 changes: 1 addition & 1 deletion models.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"gemini-pro": "gemini-3.1-pro-preview",
"gemini-flash": "gemini-3.1-flash-preview",
"glm": "glm-4.7",
"minimax": "minimax-m2.5",
"minimax": "minimax-m2.7",
"qwen-local": "qwen/qwen3.5-9b"
}
Loading