Skip to content

feat(vertex): Vertex AI Claude support, global endpoint, and tooling#83

Open
richtobey wants to merge 2 commits into1rgs:mainfrom
richtobey:feat/vertex-ai-claude
Open

feat(vertex): Vertex AI Claude support, global endpoint, and tooling#83
richtobey wants to merge 2 commits into1rgs:mainfrom
richtobey:feat/vertex-ai-claude

Conversation

@richtobey
Copy link

Summary

Adds full support for using Claude on Google Vertex AI via the proxy.

Changes

  • Vertex AI Claude: System message passed as top-level system param (Vertex does not accept system role in messages). Message content normalized for Vertex.
  • GET /v1/models: Returns proxy-supported models (BIG_MODEL, SMALL_MODEL) so clients only offer working models.
  • Model mapping: opus / sonnet → BIG_MODEL, haiku / exact SMALL_MODEL → Vertex; exact BIG_MODEL/SMALL_MODEL get vertex_ai/ prefix.
  • Config: .env.example and .env.vertex.example; VERTEX_LOCATION=global for Claude 4.5+ (regional us-central1 returns "not servable in region").
  • Scripts: setup_env.sh, .hidden/check_vertex_claude.sh, .hidden/fill_env_from_gcloud.sh (macOS-safe).
  • README: Vertex setup, Model Garden, gcloud vs key auth, troubleshooting.
  • .gitignore: .env, *-key.json, .venv, .cursor/debug.log.

Made with Cursor

humabot and others added 2 commits February 13, 2026 10:59
- Add Vertex AI Claude support: system message as top-level param, message normalization
- GET /v1/models returns proxy-supported models (BIG_MODEL, SMALL_MODEL)
- Model mapping: opus/sonnet -> BIG_MODEL, haiku/exact SMALL_MODEL -> Vertex
- .env.example and .env.vertex.example for Vertex presets; VERTEX_LOCATION=global for Claude 4.5+
- Scripts: setup_env.sh (venv + uv), .hidden/check_vertex_claude.sh (quota project, list models),
  .hidden/fill_env_from_gcloud.sh; macOS-safe head/sed in check script
- README: Vertex setup, Model Garden, gcloud vs key auth, troubleshooting
- .gitignore: .env, *-key.json, .venv, .cursor/debug.log

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants