Repository navigation
Add support for Anthropic Claude models via Google Vertex AI - #7097
SrikarMannepalli wants to merge 5 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7097 +/- ##
==========================================
+ Coverage 81.22% 81.30% +0.07%
==========================================
Files 244 244
Lines 18512 18564 +52
==========================================
+ Hits 15036 15093 +57
+ Misses 3476 3471 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hi Eric Zhu (@ekzhu), |
|
I analyzed this issue but couldn't identify the affected files. Could you please provide more details about which files need to be modified? |
This aims to add support for Anthropic Claude models via Google Vertex AI, and majorly affects the |
Why are these changes needed?
This PR adds support for Anthropic Claude models via Google Vertex AI by introducing
AnthropicVertexChatCompletionClient.Background
While AutoGen already supports Anthropic Claude models through:
AnthropicChatCompletionClient)AnthropicBedrockChatCompletionClient)This PR add support for accessing Claude models through Vertex AI.
Changes Made
AnthropicVertexChatCompletionClientfollowing the same pattern as the existing Bedrock clientVertexInfoand related config models for GCP project/region configurationImplementation Details
AsyncAnthropicVertexclientproject_idandregionviaVertexInfoconfigurationUsage Example
Checks