You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove the internal sandbox endpoint override from the deploy skill's gcloud setup script, so it configures the default Vertex AI endpoint.
- Stop each skill from building its own virtual environment; install only what is missing. Each skill used to create a virtualenv and install its own SDKs before running anything. Because a virtualenv is isolated from the surrounding interpreter, that discarded SDKs which were already present and made every skill pay for a redundant install. The skills now check whether their imports resolve and install only what is actually missing, so the common case does no work at all. requirements.txt is unchanged in purpose: it remains the manifest for anyone who downloads a single skill on its own. It should not be applied on top of a working environment, where its pins would downgrade SDKs that other skills share. Its numpy, pandas and pyarrow pins are dropped, as no script in the skill imports them. calculate_cost.py no longer depends on smart_open. It reads local paths with the builtin open() and gs:// paths with google-cloud-storage, which the skill already has. This removes the one dependency that could not be satisfied by an ordinary unpinned install, because no single smart_open release exposed the API used here across the supported range. Also fixes two latent bugs in the setup instructions: a pip version specifier was unquoted, so the shell parsed ">=1.154.0" as a redirect and wrote an empty file instead of constraining the install; and one skill installed the separate, deprecated vertexai distribution, which already ships inside google-cloud-aiplatform.
- Pin google-genai >=1.74.0 in the tuning skill so enterprise=True works. The tuning skill pinned google-genai==1.73.1, but tune_open_model.py and monitor_tuning_job.py call genai.Client(enterprise=True, ...), which requires google-genai 1.74.0 or later, so those scripts raised a TypeError. Bump the pin to 1.75.0, the highest release that still satisfies the google-genai<2.0.0 constraint declared by google-cloud-aiplatform 1.138.0, and add a test that keeps the pin in range.
- Add Qwen 3.5 9B to the open model tuning catalog, and tell the agent to offer the closest supported model when a user asks for one that is not supported for tuning.
- Remove stray internal lint-suppression comments from the published skills, and fix a malformed code block in the tuning skill. The disableFinding and enableFinding HTML comments were being copied verbatim into the published files instead of being stripped, and are now removed. The upload snippet in Phase 1.2 of the tuning skill rendered as a broken inline code span and is now a proper bash code block.
- Internal change
- Recommend the `global` location for open model tuning. The skill previously applied one five-region whitelist to every tuning job and rejected `global` outright, which refused valid open model requests and forced a region choice before any other setup. It now recommends `global` for open models and confirms it with the user, documents when an explicit region is still required (CMEK and data residency), and notes that sub-resources resolve to a real region that must be read before monitoring or deployment. For Gemini, supported regions vary per model, so the skill directs a per-model documentation lookup instead of reusing the open model list.
- [agent_platform] Narrow the `agent-platform-deploy` skill trigger description so that pure listing/discovery questions ("is X deployed?", "list my endpoints", "which regions have models running?") route to `agent-platform-endpoint-management` instead of speculatively loading the deploy skill. Also clarify that "list available Model Garden models" refers to the model CATALOG (not the user's endpoints), and replace "check deployment status, verify serving endpoints" with the more specific "check the status of an in-progress deployment operation".
PiperOrigin-RevId: 957218689
> [!NOTE] Google Cloud access tokens typically expire after 1 hour. The
290
290
>`get_gcp_access_token()`functionabove retrieves a *fresh* token at the time
291
-
> it is called. <!-- disableFinding(LINE_OVER_80) -->For long-running
291
+
> it is called. For long-running
292
292
> applications, you implement a refresh mechanism. See
293
293
> [Refresh the access token](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/migrate/openai/auth-and-credentials?hl=en#refresh_your_credentials)
294
-
>for details.<!-- enableFinding(LINE_OVER_80) -->
294
+
>for details.
295
295
296
296
### Configuration (Base URL)
297
297
298
-
<!-- disableFinding(LINE_OVER_80) -->
298
+
299
299
300
300
- **Global Endpoint** (Recommended for most models requiring global
0 commit comments