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

Function GetXAIModels

internal/registry/model_definitions.go:109–111  ·  view source on GitHub ↗

GetXAIModels returns the standard xAI Grok model definitions.

()

Source from the content-addressed store, hash-verified

107
108// GetXAIModels returns the standard xAI Grok model definitions.
109func 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

Calls 3

WithXAIBuiltinsFunction · 0.85
cloneModelInfosFunction · 0.85
getModelsFunction · 0.85

Tested by

no test coverage detected