fix: correct satisfies clause in API factory default case

Remove codex-cli-native from the satisfies clause as it has its own
explicit case in the switch statement
This commit is contained in:
Roo Code 2025-09-17 02:21:14 +00:00
parent 1e06592b55
commit 7b7d59ab1a

View file

@ -176,7 +176,7 @@ export function buildApiHandler(configuration: ProviderSettings): ApiHandler {
case "vercel-ai-gateway":
return new VercelAiGatewayHandler(options)
default:
apiProvider satisfies "gemini-cli" | "codex-cli-native" | undefined
apiProvider satisfies "gemini-cli" | undefined
return new AnthropicHandler(options)
}
}