Skip to content

Agent Platform Model Names #1587 - 5#1595

Open
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260409-201440
Open

Agent Platform Model Names #1587 - 5#1595
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260409-201440

Conversation

@adk-bot

@adk-bot adk-bot commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

5. Vertex AI Model Names

Doc file: docs/agents/models/vertex.md

Current state:

The documentation states how to use Vertex AI by setting environment variables and providing the base model name (like gemini-2.5-flash or claude-3-5-sonnet@20240620). It does not mention that fully qualified Vertex resource names are directly supported as model names.

Proposed Change:

Add a section or note explaining that developers can now pass fully qualified Vertex AI model or endpoint resource names (e.g., projects/YOUR_PROJECT/locations/YOUR_REGION/publishers/google/models/gemini-2.5-flash or projects/.../endpoints/YOUR_ENDPOINT_ID) directly into the model parameter when creating an Agent, a Gemini instance, or an Anthropic Claude instance. Explain that ADK will automatically parse the Project ID, Location, and base model name from this string, and properly configure the SDK client for Vertex AI mode without requiring external environment variables.

Reasoning:
This is a major quality-of-life and usability improvement that allows developers to seamlessly drop in Vertex AI endpoint strings directly into their code. This is particularly useful when working with Model Garden endpoints or switching between different projects.

Reference: src/google/adk/models/google_llm.py

@netlify

netlify Bot commented Apr 9, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 6a40bdc
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/69d808b4cdc90a0008e0be1c
😎 Deploy Preview https://deploy-preview-1595--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jcwriter74

Copy link
Copy Markdown
Collaborator

14# Agent Platform Model Names

Doc file: docs/agents/models/vertex.md

Current state:

The documentation states how to use Vertex AI (now known as Agent Platform) by setting environment variables and providing the base model name (like gemini-2.5-flash or claude-3-5-sonnet@20240620). It does not mention that fully qualified Vertex (now known as Agent Platform) resource names are directly supported as model names.

Proposed Change:

  • Add a section or note explaining that developers can now pass fully qualified (now known as Agent Platform) model or endpoint resource names (e.g., projects/YOUR_PROJECT/locations/YOUR_REGION/publishers/google/models/gemini-2.5-flash or projects/.../endpoints/YOUR_ENDPOINT_ID) directly into the model parameter when creating an Agent, a Gemini instance, or an Anthropic Claude instance. Click here to confirm the changes.

  • Explain that ADK will automatically parse the Project ID, Location, and base model name from this string, and properly configure the SDK client for Vertex AI (now known as Agent Platform) mode without requiring external environment variables. Click here to confirm the changes.

Reasoning:
This is a major quality-of-life and usability improvement that allows developers to seamlessly drop in Agent Platform endpoint strings directly into their code. This is particularly useful when working with Model Garden endpoints or switching between different projects.

Reference: src/google/adk/models/google_llm.py

@jcwriter74

jcwriter74 commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Closed, covered by:

  • Maybe edit name from Vertex to Agent Platform

@jcwriter74 jcwriter74 closed this Jun 12, 2026
@jcwriter74 jcwriter74 changed the title Update ADK doc according to issue #1587 - 5 Agent Platform Model Names #1587 - 5 Jun 23, 2026
@jcwriter74 jcwriter74 reopened this Jun 24, 2026
@jcwriter74
jcwriter74 enabled auto-merge (squash) June 24, 2026 20:56
@jcwriter74
jcwriter74 disabled auto-merge June 24, 2026 20:56
@zyantw zyantw self-assigned this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants