Skip to content

[docs]: add Google Vertex AI configuration#1696

Merged
shrey150 merged 4 commits into
mainfrom
shrey/check-vertex-docs
Feb 20, 2026
Merged

[docs]: add Google Vertex AI configuration#1696
shrey150 merged 4 commits into
mainfrom
shrey/check-vertex-docs

Conversation

@shrey150

@shrey150 shrey150 commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Google Vertex tab to the First Class Models section in the v3 models docs
  • Documents the experimental: true requirement, model object format (project, location, googleAuthOptions), and service account credentials setup
  • Adds Google Vertex to the API key troubleshooting table

This was requested in Discord — the vertex/ provider is fully supported in code but was missing from documentation.

Test plan

  • Verify the new tab renders correctly on the docs site
  • Confirm code snippet matches the accepted GoogleVertexProviderSettings type

🤖 Generated with Claude Code


Summary by cubic

Added Google Vertex configuration to v3 models docs. New tab with TS example using vertex/gemini-3-flash-preview, service account setup, and required fields (project, location, googleAuthOptions) with experimental: true; updated troubleshooting to say “Vertex” and point to service account credentials.

Written for commit c7ed246. Summary will update on new commits. Review in cubic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Feb 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c7ed246

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

shrey150 and others added 2 commits February 17, 2026 18:39
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consistent with the rest of the models docs page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Added comprehensive Google Vertex AI configuration documentation to the First Class Models section. The new tab includes a working TypeScript example showing how to configure Vertex with service account credentials, explains the required experimental: true flag, documents the model object structure (project, location, googleAuthOptions), and adds Vertex to the API key troubleshooting table.

Key additions:

  • New Google Vertex tab with complete configuration example
  • Warning about experimental: true requirement (correctly enforced in LLMProvider.ts:156-161)
  • Documentation of GoogleVertexProviderSettings type structure matching /packages/core/lib/v3/types/public/model.ts:31-38
  • Service account credentials format with client_email and private_key fields
  • Reference link to Vertex AI models documentation
  • Troubleshooting table entry noting service account credentials requirement

Minor style issue:

  • Model name inconsistency between code example (gemini-2.0-flash) and documentation text (gemini-2.5-flash)

Confidence Score: 4/5

  • This documentation PR is safe to merge with a minor style inconsistency that should be addressed
  • The documentation is accurate and matches the actual code implementation, including the experimental flag requirement and type definitions. Only flagged issue is a minor model name inconsistency between the code example and the explanatory text.
  • No files require special attention - the single style comment addresses a minor consistency improvement

Important Files Changed

Filename Overview
packages/docs/v3/configuration/models.mdx Added Google Vertex AI tab with configuration example; includes experimental flag requirement, model object format, service account setup, and troubleshooting entry. Minor inconsistency in model name examples.

Last reviewed commit: 10eb0da

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment thread packages/docs/v3/configuration/models.mdx Outdated
Gemini 3 Flash is available on Vertex AI and is the latest model.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@Kylejeong2 Kylejeong2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good

<Tab title="Google Vertex">

<Warning>
Google Vertex requires `experimental: true` in the Stagehand constructor.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we should somehow set reminder to update this when it's no longer experimental

shrey150 commented Feb 20, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Feb 20, 6:37 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 20, 6:37 PM UTC: @shrey150 merged this pull request with Graphite.

@shrey150
shrey150 merged commit ef58a01 into main Feb 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants