Skip to main content

opencode_go_chat_model_id

Function opencode_go_chat_model_id 

Source
pub fn opencode_go_chat_model_id(model: &str) -> Option<&'static str>
Expand description

Canonicalize an OpenCode Go model that is documented for the OpenAI Chat Completions endpoint. The live /models roster also contains Anthropic-Messages-only models; returning None for those is the protocol cutline shared by config and the TUI live-catalog paths.