WithCodexBuiltins injects hard-coded Codex-only model definitions that should not depend on remote models.json updates. Built-ins replace any matching IDs already present in the provided slice.
(models []*ModelInfo)
| 114 | // not depend on remote models.json updates. Built-ins replace any matching IDs |
| 115 | // already present in the provided slice. |
| 116 | func WithCodexBuiltins(models []*ModelInfo) []*ModelInfo { |
| 117 | return upsertModelInfos(models, codexBuiltinImage15ModelInfo(), codexBuiltinImageModelInfo()) |
| 118 | } |
| 119 | |
| 120 | // WithXAIBuiltins injects hard-coded xAI image/video model definitions that should |
| 121 | // not depend on remote models.json updates. |
no test coverage detected