Bug Description
Some models like GLM 5.2 and Kimi K2.7 fail with the following message in the chat: API call failed after 3 retries: HTTP 404 — Not Found | opencode
This fails with any message, and at the start of the session
Steps to Reproduce
- Have an OpenCode Go subscription
- Switch to GLM 5.2 as the model
- Send any message
Expected Behavior
GLM 5.2, Kimi K2.7, and any other failing models should work
Actual Behavior
The error I get back is API call failed after 3 retries: HTTP 404 — Not Found | opencode
Affected Component
CLI (interactive chat)
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
Report https://paste.rs/Co8Ef
agent.log https://paste.rs/8hgJ8
gui.log https://paste.rs/Zjxk4
desktop.log https://paste.rs/ufFsT
Operating System
MacOS 26.5.1 (25F80)
Python Version
Python 3.9.6 (hermes version says 3.11.15)
Hermes Version
0.18.0
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
Some models like GLM 5.2 and Kimi K2.7 fail with the following message in the chat:
API call failed after 3 retries: HTTP 404 — Not Found | opencodeThis fails with any message, and at the start of the session
Steps to Reproduce
Expected Behavior
GLM 5.2, Kimi K2.7, and any other failing models should work
Actual Behavior
The error I get back is
API call failed after 3 retries: HTTP 404 — Not Found | opencodeAffected Component
CLI (interactive chat)
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
Operating System
MacOS 26.5.1 (25F80)
Python Version
Python 3.9.6 (
hermes versionsays 3.11.15)Hermes Version
0.18.0
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?