Commit 8d1ce6e
authored
fix: support custom base URL for Gemini provider (#520)
* fix: support custom base URL for Gemini provider
Fixes #512
The Gemini provider was throwing an error when a custom base URL was set,
causing the chat interface to crash. The @google/genai SDK actually supports
custom base URLs via the httpOptions.baseUrl configuration.
This change removes the error and passes the custom base URL to the SDK,
enabling users to use custom Gemini-compatible endpoints (like proxies or
self-hosted alternatives).
* fix: Fix lint1 parent de0a7c4 commit 8d1ce6e
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 52 | | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments