From bc1941df5aca51628f382603e2c95d571e48a6bf Mon Sep 17 00:00:00 2001 From: Steph Ango <10565871+kepano@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:41:06 -0800 Subject: [PATCH] Fix URL for Gemini completions --- src/managers/interpreter-settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/interpreter-settings.ts b/src/managers/interpreter-settings.ts index 4ed2edbc..ff035b0d 100644 --- a/src/managers/interpreter-settings.ts +++ b/src/managers/interpreter-settings.ts @@ -32,7 +32,7 @@ const PRESET_PROVIDERS: Record = { google: { id: 'google', name: 'Google Gemini', - baseUrl: 'https://generativelanguage.googleapis.com/v1beta/openai/', + baseUrl: 'https://generativelanguage.googleapis.com/v1beta/chat/completions', apiKeyUrl: 'https://aistudio.google.com/apikey' }, ollama: {