opencode: register four additional Go catalog models - #102
Merged
Conversation
Keep the provider documentation accurate as OpenCode updates its endpoint table. Describe the stable registration policy instead of naming models whose upstream documentation may change, and make the catalog description consistent with mappings established through direct protocol verification.
Owner
|
Cheers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
glm-5andkimi-k2.5through Chat Completionsqwen3.8-maxandqwen3.5-plusthrough Anthropic Messagesopencode-go/...forms for each model.endpoint selection.
verification even when the current Go endpoint table omits it.
Motivation
OpenCode Go's public
/modelsendpointcurrently returns all four IDs.
qwen3.8-maxis also listed in OpenCode's currentGo endpoint table
as a
/messagesmodel. It was added upstream inanomalyco/opencode#40228
after CCP's original OpenCode Go provider PR
was merged.
The current Go endpoint table omits the other three IDs, so their transports are
not inferred from
/models. Their endpoint assignments were verified directlyagainst the live Go API:
glm-5->/chat/completionskimi-k2.5->/chat/completionsqwen3.5-plus->/messagesThose assignments also match OpenCode's current
Zen endpoint table.
OpenCode previously published
glm-5andkimi-k2.5in itsGo documentation,
and
qwen3.5-plusin a laterGo catalog update.
The proxy catalog remains static: an ID returned by
/modelsis still rejectedunless its generation endpoint has been documented or verified.
Verification
cargo fmt --all -- --checkcargo clippy --all-targets -- -D warningscargo test --offline --all-targets: 956 passed, 0 failed/modelscontains all four IDsglm-5: buffered, HTTP 200,end_turnkimi-k2.5: streaming, HTTP 200,message_stopqwen3.8-max: buffered, HTTP 200,end_turnqwen3.5-plus: streaming, HTTP 200,message_stop