The googleai and anthropic AI resources now expose a platform field to switch between the provider's standard API and Google Vertex AI, using a Google Cloud service account access token for authentication.
New features
- platform: google_vertex_ai option on googleai and anthropic resources.
- Set base_url to your Vertex endpoint and api_key to a Google Cloud OAuth2 access token (Vertex AI User role).
- Run Claude models on Vertex AI from existing Anthropic-shaped scripts and AI agents.