Bug Description
When I use glm-4.7 or glm-5.1, an error occurs: "提示模型不存在,请检查模型代码". Strangely, glm-5 works normally when I select it, which means the API key is fine.
Steps to Reproduce
- run command: hermes model
- select provider :Z.AI / GLM (Zhipu AI direct API)
- enter Base URL: https://open.bigmodel.cn/api/anthropic
- select model: glm-4.7
- input command
hermes
- then get response : {'error': {'code': '1211', 'message': '模型不存在,请检查模型代码。'}
Full info:
⚠️ API call failed (attempt 1/3): BadRequestError [HTTP 400]
🔌 Provider: zai Model: glm-4.7
🌐 Endpoint: https://open.bigmodel.cn/api/anthropic
📝 Error: HTTP 400: 模型不存在,请检查模型代码。
📋 Details: {'error': {'code': '1211', 'message': '模型不存在,请检查模型代码。'}, 'request_id': '20260411084842f31e68d233e444ad'}
⚠️ Non-retryable error (HTTP 400) — trying fallback...
❌ Non-retryable error (HTTP 400): HTTP 400: 模型不存在,请检查模型代码。
❌ Non-retryable client error (HTTP 400). Aborting.
🔌 Provider: zai Model: glm-4.7
🌐 Endpoint: https://open.bigmodel.cn/api/anthropic
💡 This type of error won't be fixed by retrying.
Expected Behavior
When I select glm-4.7 or glm-5.1, it responds normally.
Actual Behavior
an error occurs: "提示模型不存在,请检查模型代码".
Affected Component
CLI (interactive chat)
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 22.04.3 LTS
Python Version
3.11.15
Hermes Version
v0.8.0
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
When I use glm-4.7 or glm-5.1, an error occurs: "提示模型不存在,请检查模型代码". Strangely, glm-5 works normally when I select it, which means the API key is fine.
Steps to Reproduce
hermesFull info:
🔌 Provider: zai Model: glm-4.7
🌐 Endpoint: https://open.bigmodel.cn/api/anthropic
📝 Error: HTTP 400: 模型不存在,请检查模型代码。
📋 Details: {'error': {'code': '1211', 'message': '模型不存在,请检查模型代码。'}, 'request_id': '20260411084842f31e68d233e444ad'}
❌ Non-retryable error (HTTP 400): HTTP 400: 模型不存在,请检查模型代码。
❌ Non-retryable client error (HTTP 400). Aborting.
🔌 Provider: zai Model: glm-4.7
🌐 Endpoint: https://open.bigmodel.cn/api/anthropic
💡 This type of error won't be fixed by retrying.
Expected Behavior
When I select glm-4.7 or glm-5.1, it responds normally.
Actual Behavior
an error occurs: "提示模型不存在,请检查模型代码".
Affected Component
CLI (interactive chat)
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 22.04.3 LTS
Python Version
3.11.15
Hermes Version
v0.8.0
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?