Repository navigation
fix(api-proxy): set GOOGLE_GEMINI_BASE_URL to route Gemini CLI through sidecar #2348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -772,6 +772,7 @@ export function generateDockerCompose( | |||||||
| EXCLUDED_ENV_VARS.add('ANTHROPIC_API_KEY'); | ||||||||
| EXCLUDED_ENV_VARS.add('CLAUDE_API_KEY'); | ||||||||
| EXCLUDED_ENV_VARS.add('GEMINI_API_KEY'); | ||||||||
| EXCLUDED_ENV_VARS.add('GOOGLE_GEMINI_BASE_URL'); | ||||||||
|
||||||||
| EXCLUDED_ENV_VARS.add('GOOGLE_GEMINI_BASE_URL'); | |
| EXCLUDED_ENV_VARS.add('GOOGLE_GEMINI_BASE_URL'); | |
| EXCLUDED_ENV_VARS.add('GEMINI_API_BASE_URL'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This troubleshooting text says the Gemini base URL vars and placeholder
GEMINI_API_KEYare “always injected” when--enable-api-proxyis active, butgenerateDockerComposeonly configures the Gemini env vars/placeholder whengeminiApiKeyis provided. Update this section to reflect the conditional behavior (or, if the doc is correct, the code needs to be updated to match).