Adding bedrock chat completion for anthropic models#6170
Merged
ekzhu merged 12 commits intoApr 28, 2025
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
ekzhu
suggested changes
Apr 4, 2025
ekzhu
approved these changes
Apr 14, 2025
ekzhu
suggested changes
Apr 14, 2025
Contributor
ekzhu
left a comment
There was a problem hiding this comment.
Let's use secrete str for keys and tokens
ekzhu
approved these changes
Apr 22, 2025
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6170 +/- ##
==========================================
- Coverage 78.39% 78.26% -0.13%
==========================================
Files 221 221
Lines 16102 16158 +56
==========================================
+ Hits 12623 12646 +23
- Misses 3479 3512 +33
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
@HariniNarasimhan checkout |
abhinav-aegis
pushed a commit
to abhinav-aegis/autogen
that referenced
this pull request
Apr 28, 2025
## Why are these changes needed? Anthropic models are supported by AWS bedrock. ChatCompletionClient can be created for anthropic bedrock models using this changes. This enables the user to do the following - Add any anthropic models and version from AWS bedrock - Can use ChatCompletionClient for bedrock anthropic models ## Related issue number Closes microsoft#5226 --------- Co-authored-by: harini.narasimhan <harini.narasimhan@eagleview.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why are these changes needed?
Anthropic models are supported by AWS bedrock. ChatCompletionClient can be created for anthropic bedrock models using this changes. This enables the user to do the following
Related issue number
Closes #5226