From 7b7d59ab1ac1da2f13f530c8fe93718718c0470e Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 17 Sep 2025 02:21:14 +0000 Subject: [PATCH] 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 --- src/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/index.ts b/src/api/index.ts index b854b97f2d..b61dc3fda8 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -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) } }