mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 16:16:52 +00:00
Root cause: execClaudeWithProxy() was ignoring ANTHROPIC_MODEL from user settings and always using hardcoded 'glm-4.6'. Changes: - Read model from user's settings file in GLMT proxy flow - Update default model to glm-4.7 in base configs (matches presets) - Update fallback models in transformer/response-builder Closes #358 Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
574 B
JSON
18 lines
574 B
JSON
{
|
|
"env": {
|
|
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/coding/paas/v4/chat/completions",
|
|
"ANTHROPIC_AUTH_TOKEN": "YOUR_GLM_API_KEY_HERE",
|
|
"ANTHROPIC_MODEL": "glm-4.7",
|
|
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-4.7",
|
|
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-4.7",
|
|
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.7",
|
|
"ANTHROPIC_TEMPERATURE": "0.2",
|
|
"ANTHROPIC_MAX_TOKENS": "65536",
|
|
"MAX_THINKING_TOKENS": "32768",
|
|
"ENABLE_STREAMING": "true",
|
|
"ANTHROPIC_SAFE_MODE": "false",
|
|
"API_TIMEOUT_MS": "3000000"
|
|
},
|
|
"alwaysThinkingEnabled": true
|
|
}
|