Skip to content

Commit 647c034

Browse files
committed
docs(go): note that each model only works on its listed endpoint
GLM-5.3 and GLM-5.3-Flash are only served on /v1/chat/completions, so a client that sends every request to /v1/messages gets a 503 for them. The docs did not say that a model fails on an endpoint it is not listed under. Closes anomalyco#51120
1 parent 907b3bc commit 647c034

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • packages/web/src/content/docs

‎packages/web/src/content/docs/go.mdx‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ with OpenCode Go. Although we do not guarantee that they will continue to work i
130130
| **jcode** | Update to **v0.81.6 or later**, which includes the [session-header fix](https://github.com/1jehuang/jcode/issues/1167). |
131131
| **Kilo Code CLI** | Builds containing [PR #13752](https://github.com/Kilo-Org/kilocode/pull/13752) restore OpenCode session headers. This fix covers the CLI, not the VS Code extension. See [issue #13723](https://github.com/Kilo-Org/kilocode/issues/13723). |
132132

133+
:::note
134+
Clients that only speak the Messages API format can only use the Go models
135+
served on `/v1/messages`. See [Endpoints](#endpoints) for the list. Other models,
136+
such as GLM-5.3, fail on that endpoint.
137+
:::
138+
133139
### Known Problematic Clients
134140

135141
These clients have missing or incomplete session support in the versions we
@@ -431,6 +437,10 @@ You can also access Go models through the following API endpoints.
431437
| Hy3 | hy3 | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
432438
| Space Bunny Free | space-bunny-free | `https://opencode.ai/zen/go/v1/chat/completions` | `@ai-sdk/openai-compatible` |
433439

440+
Each model is only served on the endpoint listed for it, and a request to a
441+
different endpoint fails. For example, a client that sends every request to
442+
`/v1/messages` can only use the models listed with that endpoint.
443+
434444
The [model id](/docs/config/#models) in your OpenCode config
435445
uses the format `opencode-go/<model-id>`. For example, for Kimi K3, you would
436446
use `opencode-go/kimi-k3` in your config.

0 commit comments

Comments
 (0)