(entry *config.CodexKey)
| 2549 | } |
| 2550 | |
| 2551 | func buildCodexConfigModels(entry *config.CodexKey) []*ModelInfo { |
| 2552 | if entry == nil { |
| 2553 | return nil |
| 2554 | } |
| 2555 | return registry.WithCodexBuiltins(buildConfigModels(entry.Models, "openai", "openai")) |
| 2556 | } |
| 2557 | |
| 2558 | func rewriteModelInfoName(name, oldID, newID string) string { |
| 2559 | trimmed := strings.TrimSpace(name) |
no test coverage detected