Expand description
OpenCode provider implementations.
Modules§
Structs§
- Model
Info - OpenAI-compatible model metadata shared by OpenCode providers.
- Models
Response - OpenAI-compatible model list response shared by OpenCode providers.
- Open
Code GoClient - Concrete OpenCode Go API client.
Functions§
- is_
go_ model_ id - Whether
modelis an OpenCode Go model id. - is_
model_ id - Whether
modelis any OpenCode-backed model id. - is_
zen_ model_ id - Whether
modelis an OpenCode Zen model id. - known_
models - Offline model picker entries for all OpenCode-backed providers.
- probe_
go_ api_ key - probe_
zen_ api_ key - validate_
go_ api_ key - Validate an OpenCode Go API key.
- validate_
zen_ api_ key - Validate an OpenCode Zen API key.