Skip to content

Conversation

@monkeyWie
Copy link
Owner

No description provided.

@monkeyWie monkeyWie added the enhancement New feature or request label Feb 6, 2026
@augmentcode
Copy link

augmentcode bot commented Feb 6, 2026

🤖 Augment PR Summary

Summary: Adds optional baseURL configuration for the Google AI provider so requests can be routed through custom endpoints.

Changes: Updates Google provider settings/i18n to expose the new field and forces the provider settings form to remount when switching providers.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

const ai = new GoogleGenAI({
apiKey,
httpOptions: {
baseUrl: baseURL,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because baseURL is optional, baseUrl will be undefined when unset; depending on @google/genai, explicitly passing httpOptions.baseUrl: undefined may override the SDK default endpoint and cause requests to fail. Consider only providing httpOptions when baseURL is defined (or setting a defaultValue).

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@monkeyWie monkeyWie merged commit 0b7dc79 into main Feb 6, 2026
1 check passed
@monkeyWie monkeyWie deleted the feat/google_baseURL branch February 6, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant