GetXAIModels returns the standard xAI Grok model definitions.
()
| 107 | |
| 108 | // GetXAIModels returns the standard xAI Grok model definitions. |
| 109 | func GetXAIModels() []*ModelInfo { |
| 110 | return WithXAIBuiltins(cloneModelInfos(getModels().XAI)) |
| 111 | } |
| 112 | |
| 113 | // WithCodexBuiltins injects hard-coded Codex-only model definitions that should |
| 114 | // not depend on remote models.json updates. Built-ins replace any matching IDs |
no test coverage detected