fix: exclude codex-cli from MODELS_BY_PROVIDER type definition

This commit is contained in:
Roo Code 2025-09-17 01:05:50 +00:00
parent 36d01de9c0
commit c9ed01b913

View file

@ -492,7 +492,7 @@ export const getApiProtocol = (provider: ProviderName | undefined, modelId?: str
}
export const MODELS_BY_PROVIDER: Record<
Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "codex-cli" | "lmstudio" | "openai" | "ollama">,
Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | "openai" | "ollama">,
{ id: ProviderName; label: string; models: string[] }
> = {
anthropic: {