Skip to content

Commit 7b7d59a

Browse files
committed
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
1 parent 1e06592 commit 7b7d59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export function buildApiHandler(configuration: ProviderSettings): ApiHandler {
176176
case "vercel-ai-gateway":
177177
return new VercelAiGatewayHandler(options)
178178
default:
179-
apiProvider satisfies "gemini-cli" | "codex-cli-native" | undefined
179+
apiProvider satisfies "gemini-cli" | undefined
180180
return new AnthropicHandler(options)
181181
}
182182
}

0 commit comments

Comments
 (0)