v0.10.5

Model Filter Symbols

Last updated


Types and classifier functions behind Models filtering.

Symbols


SymbolSignature
ModelFilterstruct{ TextOnly, STTOnly, TTSOnly, ImageOnly, DecisionOnly bool }
ModelInfostruct{ ID string; Thinking bool; Efforts, Endpoints []string }
IsTextModel / IsSTTModel / IsTTSModel / IsImageModelfunc(id string) bool
MatchModelFilterfunc(id string, filter ModelFilter) bool; checks the four marker flags and ignores DecisionOnly

Listing response types


Wire shapes that Models decodes before filtering.
TypeUsed byFields
Modelsclaude, openai, grok, grok-oauth, deepseek, nvidia, ollama-cloud, openrouterData[].ID
CopilotModelscopilotData[]: ID, ModelPickerEnabled, SupportedEndpoints, Capabilities.Type, Capabilities.Supports.ReasoningEffort, Policy.State
MistralModelsmistralData[]: ID, Capabilities.CompletionChat, Capabilities.Reasoning
GeminiModelsgeminiModels[]: Name, SupportedGenerationMethods, Thinking
CloudFlareModelscloudflareResult[]: Name, Task.Name


中文