Add GOOGLE_GENAI_USE_VERTEXAI to setup script manual instructions#2
Add GOOGLE_GENAI_USE_VERTEXAI to setup script manual instructions#2
Conversation
…manual setup Co-authored-by: huan <1361891+huan@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR adds the GOOGLE_GENAI_USE_VERTEXAI variable to both automatic and manual setup paths in the workload identity setup script, ensuring users without the gh CLI can properly configure Vertex AI.
Key Changes:
- Added automatic setting of
GOOGLE_GENAI_USE_VERTEXAIwhen gh CLI is available - Added manual instructions for
GOOGLE_GENAI_USE_VERTEXAIwith explanatory note about the alternativeGOOGLE_GENAI_USE_GCAvariable
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| echo "" | ||
| echo "🤖 Variable Name: GOOGLE_GENAI_USE_VERTEXAI" | ||
| echo " Variable Value: true" | ||
| echo " (Set to 'true' to use Vertex AI, or use GOOGLE_GENAI_USE_GCA for Code Assist)" |
There was a problem hiding this comment.
The parenthetical note mentions using GOOGLE_GENAI_USE_GCA but doesn't provide guidance on which variable to set or if both can be set simultaneously. Consider clarifying that these are mutually exclusive options, or explain that users should choose one based on their needs. For example: "(Set to 'true' to use Vertex AI. Alternatively, use GOOGLE_GENAI_USE_GCA='true' for Code Assist instead)"
| echo " (Set to 'true' to use Vertex AI, or use GOOGLE_GENAI_USE_GCA for Code Assist)" | |
| echo " (Set to 'true' to use Vertex AI. Alternatively, set GOOGLE_GENAI_USE_GCA='true' for Code Assist. These options are mutually exclusive; set only one based on your needs.)" |
The setup script automatically sets
GOOGLE_GENAI_USE_VERTEXAIwhen gh CLI is available but omits it from manual setup instructions, leaving users without gh CLI unable to configure Vertex AI.Changes
GOOGLE_GENAI_USE_VERTEXAIto gh variable set commands (line 458)This establishes parity between both setup paths and documents the alternative
GOOGLE_GENAI_USE_GCAvariable for Code Assist users.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.