Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Claude Sonnet 4 and Opus 4 Support for VertexAI Provider#317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
king-11 wants to merge4 commits intoopencode-ai:main
base:main
Choose a base branch
Loading
fromking-11:king-11/claude-vertexai

Conversation

king-11
Copy link

@king-11king-11 commentedJul 14, 2025
edited
Loading

  • Added support for Claude Sonnet 4 and Claude Opus 4 models in the VertexAI provider
  • Implemented proper VertexAI Claude authentication using the official Anthropic SDK
  • Fixed authentication failures and nil pointer panics by using vertex.WithGoogleAuth()
  • Added comprehensive test suite for VertexAI Claude models
  • Updated error handling to properly handle Google Cloud API responses
  • Implemented model routing logic to correctly handle Claude vs Gemini models

Fixes#290

CopilotAIand others added4 commitsJuly 14, 2025 06:19
Co-authored-by: king-11 <52061363+king-11@users.noreply.github.com>
Co-authored-by: king-11 <52061363+king-11@users.noreply.github.com>
…official SDKReplaces manual OAuth2 implementation with the official Anthropic SDK VertexAI integrationto resolve authentication failures and nil pointer panics.Key changes:- Use vertex.WithGoogleAuth() for proper VertexAI authentication- Add comprehensive test suite for VertexAI Claude models- Fix nil pointer panic by ensuring config initialization in tests- Update error handling to expect real Google Cloud API responses- Add model routing logic to correctly handle Claude vs Gemini modelsAll 16 VertexAI tests now pass, confirming proper integration with Google Cloudauthentication and correct endpoint format for VertexAI Anthropic models.🤖 Generated with [Claude Code](https://claude.ai/code)Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add support for Claude Sonnet/Opus 4 in Vertex AI
2 participants
@king-11@Copilot

[8]ページ先頭

©2009-2025 Movatter.jp