MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / buildCodexConfigModels

Function buildCodexConfigModels

sdk/cliproxy/service.go:2551–2556  ·  view source on GitHub ↗
(entry *config.CodexKey)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

WithCodexBuiltinsFunction · 0.92
buildConfigModelsFunction · 0.85

Tested by

no test coverage detected