-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.Missing details or unclear. Waiting on author to provide more context.bugSomething isn't workingSomething isn't working
Description
App Version
3.28.1
API Provider
Google Vertex AI
Model Used
gemini-2.5-pro
Roo Code Task Links (Optional)
No response
🔁 Steps to Reproduce
- macOS 15.6.1 (24G90) Apple M4
- I previously set Google Gemini as the model provider, but often encountered the problem of model overload, so I tried to modify the configuration to GCP Vertex AI. Then the strange thing happened. When I re-added Google Gemini as the provider and enabled it, it always reported an error: Gemini Generation Context Stream Error: urlContext parameter is not supported in Vertex AI. I understand that this parameter is not supported in Vertex AI, but my question is why it is using my Vertex AI configuration
💥 Outcome Summary
Expected Behavior
When the "Google Gemini" provider is selected and enabled, all subsequent API requests should be routed directly to the Google Gemini API endpoint. These requests should use parameters valid for the Gemini API (like urlContext) and should be completely independent of any previous Vertex AI configuration.
Actual Behavior
After re-enabling the "Google Gemini" provider, the application fails with the following error:
Gemini 生成上下文流错误:urlContext parameter is not supported in Vertex AI.
📄 Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.Missing details or unclear. Waiting on author to provide more context.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done