feat: add Vertex AI Anthropic integration and setup documentation #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
Resolve #156
Changes
@ai-sdk/google-vertexandgoogle-auth-librarydependenciesvertex-ai-credentials.jsonto ignore listContext for reviewers
This PR enables the use of Anthropic's Claude models through Google Vertex AI as an alternative to direct Anthropic API access. The setup process was somewhat involved, requiring specific GCP configurations, model enablement, and credential management, so detailed documentation was created to help future implementers.
The integration uses the recommended
us-east5region for best model availability and includes both CLI and console-based setup options for service account creation. The documentation references Anthropic's Claude Code setup guide which proved helpful despite being for a different use case.Testing
In order to test this locally, you will need to follow the guide VERTEX_AI_ANTHROPIC_SETUP.md with access to our GCP project. Also need to pass VertexAI credentials.