Skip to content

Commit

Permalink
Fix URL for Gemini completions
Browse files Browse the repository at this point in the history
  • Loading branch information
kepano committed Dec 6, 2024
1 parent 537a9ea commit bc1941d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/interpreter-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const PRESET_PROVIDERS: Record<string, PresetProvider> = {
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: {
Expand Down

0 comments on commit bc1941d

Please sign in to comment.