Skip to content
Closed
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
8 changes: 4 additions & 4 deletions config/ccs/agy.settings.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"env": {
"ANTHROPIC_BASE_URL": "http://127.0.0.1:8317/api/provider/agy",
"ANTHROPIC_AUTH_TOKEN": "__CLIPROXY_API_KEY__",
"ANTHROPIC_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-4-7",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-4-6"
"ANTHROPIC_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5"
Comment on lines +5 to +8

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Align the Anthropic tier defaults with their names.

Line 7 assigns the Sonnet default to Opus, and Line 8 assigns the Haiku default to Sonnet. This causes Sonnet and Haiku requests to use the wrong model tiers; the catalog already provides claude-sonnet-5 and claude-haiku-4-5-20251001.

Proposed fix
-    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-0",
-    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5"
+    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5",
+    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"ANTHROPIC_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5"
"ANTHROPIC_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-0",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@config/ccs/agy.settings.template.json` around lines 5 - 8, Update the
ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL values to their
matching catalog tiers: claude-sonnet-5 for Sonnet and claude-haiku-4-5-20251001
for Haiku; leave ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_OPUS_MODEL unchanged.

}
}
2 changes: 1 addition & 1 deletion config/ccs/gemini.settings.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"ANTHROPIC_MODEL": "gemini-3.1-pro-preview",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "gemini-3.1-pro-preview",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "gemini-3.1-pro-preview",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gemini-3.1-flash-preview"
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gemini-3.6-flash"
}
}
12 changes: 6 additions & 6 deletions config/cliproxyapi/config.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ openai-compatibility:
api-key-entries:
- api-key: "__KIMI_API_KEY__"
models:
- name: "kimi-2.6"
alias: "kimi-2.6"
- name: "kimi-k3"
alias: "kimi-k3"
- name: "qwen"
base-url: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
api-key-entries:
Expand All @@ -122,10 +122,10 @@ openai-compatibility:
api-key-entries:
- api-key: "__OPENCODE_API_KEY__"
models:
- name: "minimax-m2.7"
alias: "minimax-m2.7"
- name: "kimi-2.6"
alias: "kimi-2.6"
- name: "minimax-m3"
alias: "minimax-m3"
- name: "kimi-k3"
alias: "kimi-k3"
- name: "openai"
base-url: "https://api.openai.com/v1"
api-key-entries:
Expand Down
2 changes: 1 addition & 1 deletion config/hermes/config.template.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
model:
default: cliproxy/minimax-m2.7
default: cliproxy/minimax-m3
providers: {}
fallback_providers: []
credential_pool_strategies: {}
Expand Down
4 changes: 2 additions & 2 deletions config/llm/extra-openai-models.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Custom OpenAI-compatible models for llm
- model_id: claude-sonnet
model_name: claude-sonnet-4-6
model_name: claude-sonnet-5
api_base: http://localhost:8317/v1
api_key_name: cliproxyapi
- model_id: claude-opus
model_name: claude-opus-4-7
model_name: claude-opus-5-0
api_base: http://localhost:8317/v1
api_key_name: cliproxyapi
- model_id: claude-haiku
Expand Down
48 changes: 24 additions & 24 deletions config/openclaw/openclaw.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"api": "openai-completions",
"models": [
{
"id": "claude-opus-4-7",
"name": "Claude Opus 4.7",
"id": "claude-opus-5-0",
"name": "Claude Opus 5.0",
"reasoning": true,
"input": [
"text",
Expand All @@ -31,8 +31,8 @@
"maxTokens": 32000
},
{
"id": "claude-sonnet-4-6",
"name": "Claude Sonnet 4.6",
"id": "claude-sonnet-5",
"name": "Claude Sonnet 5",
"reasoning": false,
"input": [
"text",
Expand Down Expand Up @@ -116,8 +116,8 @@
"maxTokens": 32000
},
{
"id": "gemini-3.1-flash-preview",
"name": "Gemini 3.1 Flash",
"id": "gemini-3.6-flash",
"name": "Gemini 3.6 Flash",
"reasoning": false,
"input": [
"text",
Expand Down Expand Up @@ -150,8 +150,8 @@
"maxTokens": 32000
},
{
"id": "minimax-m2.7",
"name": "Minimax M2.7",
"id": "minimax-m3",
"name": "Minimax M3",
"reasoning": false,
"input": [
"text",
Expand Down Expand Up @@ -197,7 +197,7 @@
"agents": {
"defaults": {
"model": {
"primary": "cliproxy/minimax-m2.7",
"primary": "cliproxy/minimax-m3",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand All @@ -220,7 +220,7 @@
"name": "Code Reviewer (Opus)",
"workspace": "__HOME__/.openclaw/workspace/agents/code-review",
"model": {
"primary": "cliproxy/claude-opus-4-7",
"primary": "cliproxy/claude-opus-5-0",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand All @@ -239,7 +239,7 @@
"name": "Code Reviewer (Sonnet)",
"workspace": "__HOME__/.openclaw/workspace/agents/code-review",
"model": {
"primary": "cliproxy/claude-sonnet-4-6",
"primary": "cliproxy/claude-sonnet-5",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand Down Expand Up @@ -330,9 +330,9 @@
"name": "Code Reviewer (Minimax)",
"workspace": "__HOME__/.openclaw/workspace/agents/code-review",
"model": {
"primary": "cliproxy/minimax-m2.7",
"primary": "cliproxy/minimax-m3",
"fallbacks": [
"cliproxy/claude-opus-4-7",
"cliproxy/claude-opus-5-0",
"cliproxy/glm-4.7",
"cliproxy/free"
]
Expand Down Expand Up @@ -367,7 +367,7 @@
"name": "Security Scanner",
"workspace": "__HOME__/.openclaw/workspace/agents/security",
"model": {
"primary": "cliproxy/minimax-m2.7",
"primary": "cliproxy/minimax-m3",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand Down Expand Up @@ -403,7 +403,7 @@
"name": "Docs Checker",
"workspace": "__HOME__/.openclaw/workspace/agents/docs",
"model": {
"primary": "cliproxy/minimax-m2.7",
"primary": "cliproxy/minimax-m3",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand Down Expand Up @@ -460,7 +460,7 @@
"model": {
"primary": "cliproxy/gemini-3.1-pro-preview",
"fallbacks": [
"cliproxy/minimax-m2.7",
"cliproxy/minimax-m3",
"cliproxy/glm-4.7",
"cliproxy/free"
]
Expand All @@ -479,7 +479,7 @@
"model": {
"primary": "cliproxy/gpt-5.6-sol",
"fallbacks": [
"cliproxy/minimax-m2.7",
"cliproxy/minimax-m3",
"cliproxy/glm-4.7",
"cliproxy/free"
]
Expand All @@ -496,9 +496,9 @@
"name": "Twitter (Opus)",
"workspace": "__HOME__/.openclaw/workspace/agents/twitter",
"model": {
"primary": "cliproxy/claude-opus-4-7",
"primary": "cliproxy/claude-opus-5-0",
"fallbacks": [
"cliproxy/minimax-m2.7",
"cliproxy/minimax-m3",
"cliproxy/glm-4.7",
"cliproxy/free"
]
Expand All @@ -516,7 +516,7 @@
"name": "Mindset Coach",
"workspace": "__HOME__/.openclaw/workspace/agents/mindset",
"model": {
"primary": "cliproxy/claude-opus-4-7",
"primary": "cliproxy/claude-opus-5-0",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand All @@ -535,7 +535,7 @@
"name": "Routine Manager",
"workspace": "__HOME__/.openclaw/workspace/agents/routine",
"model": {
"primary": "cliproxy/claude-sonnet-4-6",
"primary": "cliproxy/claude-sonnet-5",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand All @@ -554,7 +554,7 @@
"name": "Dev (Opus)",
"workspace": "__HOME__/.openclaw/workspace/agents/dev",
"model": {
"primary": "cliproxy/claude-opus-4-7",
"primary": "cliproxy/claude-opus-5-0",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand Down Expand Up @@ -635,7 +635,7 @@
"name": "Strategy (Opus)",
"workspace": "__HOME__/.openclaw/workspace/agents/strategy",
"model": {
"primary": "cliproxy/claude-opus-4-7",
"primary": "cliproxy/claude-opus-5-0",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand Down Expand Up @@ -690,7 +690,7 @@
"name": "Communication Specialist",
"workspace": "__HOME__/.openclaw/workspace/agents/communication",
"model": {
"primary": "cliproxy/claude-sonnet-4-6",
"primary": "cliproxy/claude-sonnet-5",
"fallbacks": [
"cliproxy/glm-4.7",
"cliproxy/free"
Expand Down
36 changes: 18 additions & 18 deletions config/opencode/opencode.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"apiKey": "{env:CLIPROXY_API_KEY}"
},
"models": {
"claude-opus-4-7": {
"name": "Claude Opus 4.7 (via shunkakinoki's CLIProxy)"
"claude-opus-5-0": {
"name": "Claude Opus 5.0 (via shunkakinoki's CLIProxy)"
},
"claude-sonnet-4-6": {
"name": "Claude Sonnet 4.6 (via shunkakinoki's CLIProxy)"
"claude-sonnet-5": {
"name": "Claude Sonnet 5 (via shunkakinoki's CLIProxy)"
},
"claude-haiku-4-5-20251001": {
"name": "Claude Haiku 4.5 (via shunkakinoki's CLIProxy)"
Expand All @@ -42,14 +42,14 @@
"gemini-3.1-pro-preview": {
"name": "Gemini 3.1 Pro (via shunkakinoki's CLIProxy)"
},
"gemini-3.1-flash-preview": {
"name": "Gemini 3.1 Flash (via shunkakinoki's CLIProxy)"
"gemini-3.6-flash": {
"name": "Gemini 3.6 Flash (via shunkakinoki's CLIProxy)"
},
"z-ai/glm-4.7": {
"name": "GLM 4.7 (via shunkakinoki's CLIProxy)"
},
"kimi-2.6": {
"name": "Kimi 2.6 (via shunkakinoki's CLIProxy)"
"kimi-k3": {
"name": "Kimi K3 (via shunkakinoki's CLIProxy)"
}
}
},
Expand All @@ -61,11 +61,11 @@
"apiKey": "{env:CLIPROXY_API_KEY}"
},
"models": {
"claude-opus-4-7": {
"name": "Claude Opus 4.7 (via local CLIProxyAPI)"
"claude-opus-5-0": {
"name": "Claude Opus 5.0 (via local CLIProxyAPI)"
},
"claude-sonnet-4-6": {
"name": "Claude Sonnet 4.6 (via local CLIProxyAPI)"
"claude-sonnet-5": {
"name": "Claude Sonnet 5 (via local CLIProxyAPI)"
},
"claude-haiku-4-5-20251001": {
"name": "Claude Haiku 4.5 (via local CLIProxyAPI)"
Expand All @@ -79,17 +79,17 @@
"gemini-3.1-pro-preview": {
"name": "Gemini 3.1 Pro (via local CLIProxyAPI)"
},
"gemini-3.1-flash-preview": {
"name": "Gemini 3.1 Flash (via local CLIProxyAPI)"
"gemini-3.6-flash": {
"name": "Gemini 3.6 Flash (via local CLIProxyAPI)"
},
"glm-4.7": {
"name": "GLM 4.7 (via local CLIProxyAPI)"
},
"minimax-m2.7": {
"name": "Minimax M2.7 (via local CLIProxyAPI)"
"minimax-m3": {
"name": "Minimax M3 (via local CLIProxyAPI)"
},
"kimi-2.6": {
"name": "Kimi 2.6 (via local CLIProxyAPI)"
"kimi-k3": {
"name": "Kimi K3 (via local CLIProxyAPI)"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions config/pi/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"maxTokens": 65536
},
{
"id": "gemini-3.1-flash-preview",
"name": "Gemini 3.1 Flash",
"id": "gemini-3.6-flash",
"name": "Gemini 3.6 Flash",
"reasoning": false,
"input": [
"text",
Expand Down Expand Up @@ -125,8 +125,8 @@
"maxTokens": 8192
},
{
"id": "minimax-m2.7",
"name": "Minimax M2.7",
"id": "minimax-m3",
"name": "Minimax M3",
"reasoning": true,
"input": [
"text",
Expand Down
Loading