Skip to content

Commit 891af6d

Browse files
committed
Fix merge errors
Signed-off-by: Geoff Wilson <[email protected]>
1 parent 4fb7ed7 commit 891af6d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,6 @@ export function buildApiHandler(configuration: ProviderSettings): ApiHandler {
173173
return new LiteLLMHandler(options)
174174
default:
175175
apiProvider satisfies "gemini-cli" | undefined
176+
return new AnthropicHandler(options)
176177
}
177178
}

webview-ui/src/components/settings/providers/OpenAICompatible.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const OpenAICompatible = ({
134134
apiKey={apiConfiguration?.openAiApiKey || ""}
135135
apiKeyEnvVar="OPEN_AI_API_KEY"
136136
apiKeyUseEnvVar={!!apiConfiguration?.openAiApiKeyUseEnvVar}
137-
setApiKey={(value: string) => handleInputChange("openAiApiKey")}
137+
setApiKey={(value: string) => setApiConfigurationField("openAiApiKey", value)}
138138
setApiKeyUseEnvVar={(value: boolean) => setApiConfigurationField("openAiApiKeyUseEnvVar", value)}
139139
apiKeyLabel={t("settings:providers.openAiApiKey")}
140140
/>

0 commit comments

Comments
 (0)