Repository navigation
docs: propose one GoogleGenAI plugin with an enterprise flag - #138
Closed
huangjeff5 wants to merge 6 commits into
Closed
huangjeff5 wants to merge 6 commits into
huangjeff5 wants to merge 6 commits into
Conversation
The SDK backend env vars stay ignored, as today, since the plugin always passes the flag; that is now stated under constructor settings. Alias lifetime moves to the 2.0 step. The open questions are the direction, the flag name, losing both backends in one app, and sequencing with the Interactions stack.
…before 1.0 Replaces the merge-into-GoogleAI proposal with the shape agreed with the JS owner: one GoogleGenAI plugin named after the package, enterprise= required and set on the plugin only, models under googlegenai/. GoogleAI and VertexAI are removed before Python 1.0 instead of deprecated, so no 2.0 alias work is needed. One open question remains: whether googleai/ and vertexai/ refs in shared .prompt files resolve as aliases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a proposal at
docs/proposals/googlegenai-plugin.md: before Python 1.0, replaceGoogleAIandVertexAIingenkit-google-genaiwith oneGoogleGenAIplugin. Anenterprise=flag picks the backend, so moving from an AI Studio key to a Google Cloud project is one flag at setup instead of rewriting every ref.What it proposes
GoogleGenAI, matchinggoogle-genaion PyPI and npm, which outlives product renames.enterprise=defaults toFalseand is set on the plugin only.GoogleGenAI()behaves likeGoogleAI()today; Cloud always takes an explicitenterprise=True. Not in model config: config can be rewritten by.promptfiles and middleware, andresolve()needs the backend before any request exists.googlegenai/: typed refs are classmethods and can't know the backend, so they need one fixed prefix.GoogleAIandVertexAIare removed, not deprecated. No deprecation cycle and no 2.0 alias work.resolve()offers.Why now
googleGenAIplugin with anenterpriseflag.enterprise=True, Developer-API-only Interactions models (Deep Research, Antigravity, Lyria) aren't offered, the same asVertexAItoday.Open question
.promptfiles that still saygoogleai/orvertexai/: returnNOT_FOUND(clean), or resolve them as backend-checked aliases so.promptfiles shared with JS and Go keep working until those SDKs ship their major versions (small core hook before 1.0)?Docs only; no code changes. Related: #137 (Model Garden rename, independent).