Merged
Conversation
a6ccfa7 to
007b0c0
Compare
Removed Async streaming implementation
553f202 to
27aa449
Compare
Collaborator
|
FYI this has a failing lint and build |
Contributor
Author
|
@sd-st fixed |
sd-st
reviewed
Jan 21, 2026
Collaborator
sd-st
left a comment
There was a problem hiding this comment.
I did an initial skim; just wondering if we can use more of the AWS library instead of rolling out own
sd-st
reviewed
Jan 21, 2026
sd-st
requested changes
Jan 26, 2026
sd-st
reviewed
Jan 28, 2026
Collaborator
sd-st
left a comment
There was a problem hiding this comment.
One last NIT. Also going to test this out locally
sd-st
reviewed
Jan 28, 2026
sd-st
reviewed
Jan 28, 2026
sd-st
reviewed
Jan 29, 2026
examples/MessagesExample.Bedrock/MessagesExample.Bedrock.csproj
Outdated
Show resolved
Hide resolved
sd-st
reviewed
Feb 4, 2026
Collaborator
sd-st
left a comment
There was a problem hiding this comment.
Just some minor comments which I can commit, and I'm going to give this a test locally to make sure it works!
sd-st
reviewed
Feb 4, 2026
sd-st
reviewed
Feb 4, 2026
Collaborator
|
Works, merging! Thanks for this (: |
Closed
stainless-app bot
added a commit
that referenced
this pull request
Feb 5, 2026
* chore(readme): remove beta warning now that we're in ga * chore(internal): codegen related update * chore(readme): remove beta warning now that we're in ga * chore(internal): codegen related update * Fix IChatClient usage deltas to be considered cumulative (#99) * chore(internal): codegen related update * fix(ci): don't throw an error about missing lsof * chore(internal): version bump * feat(api): migrate sending message format in output_config rather than output_format * chore(internal): update `actions/checkout` version * feat(client): add `ToString` to `ApiEnum` * chore(internal): simplify imports * feat(client): add Equals and ToString to params * chore(internal): add copy constructor tests * chore: change visibility of QueryString() and AddDefaultHeaders * feat(client): add `ToString` and `Equals` methods * codegen metadata * chore(internal): improve HttpResponse qualification * fix(client): handle unions containing unknown types properly * chore(client): improve example values * Update Anthropic Foundry Identity Token Credential (#55) * Changes from PR 55 * Lint fix * fix: replace deprecated Assert.IsAssignableFrom with Assert.IsType * feat(api): add support for Structured Outputs in the Messages API * Allow MEAI User Agent tracking for IChatClient (#91) * fix: use Properties initializer for InputSchema in IChatClient extensions (#83) * chore(ci): Add Claude Code GitHub Workflow (#273) * "Claude PR Assistant workflow" * "Claude Code Review workflow" * fix: use Properties initializer for InputSchema in IChatClient extensions The InputSchema constructor was being passed properties as rawData, which caused them to be serialized at the top level of the JSON object instead of under a "properties" key. This resulted in invalid JSON Schema that failed Anthropic API validation with error: "tools.0.custom.input_schema: JSON schema is invalid" The fix uses property initializer syntax to correctly populate the Properties property, ensuring the schema is valid JSON Schema draft 2020-12. Also updates tests to expect the corrected schema format. Fixes #82 * Remove added workflows --------- Co-authored-by: dtmeadows <dmeadows@stainless.com> * Add MEAI User-Agent for IChatClient implementation * Fix failing UT for new schema properties pattern * Add MEAI user agent + UT for betaservice * Address PR comments * Use FrozenDictionary for MEAI headers and fix User-Agent test assertions * Add missing System.Linq using for ToArray extension method * Fix User-Agent tests to verify single header with multiple values * Fix lint issues: use collection expressions and simplify regex --------- Co-authored-by: Matt Brailsford <me@mattbrailsford.com> Co-authored-by: dtmeadows <dmeadows@stainless.com> * fix formatting (#101) * chore(internal): ignore stainless-internal artifacts * chore(internal): add sse tests * feat(client): add common response headers to `HttpResponse` * fix(client): improve union equality method * chore(ci): remove claude-code-review workflow Co-authored-by: Claude Code (/Users/davidmeadows/stainless/stainless) <noreply@anthropic.com> * fix the build (#106) * lint fix (#107) * Add Bedrock as provider for SDK (#77) * SSE implementation * Add aws cred store * Adapt AWS authentication * Fix Streaming for bedrock * Add nuget stubs * Lint files * Update code comments * Add support for netstandard to bedrock Removed Async streaming implementation * Format code * Cleanup code * make mr linter happy * Fix net9 specific optimizations * Apply review comments * Fix linting issues * applied review comments * Remove argument check * Remove unused code * Adapt method header NetStandard switch * lint code * Fix merge conflicts from source * Apply review comments * Removed unused method * Apply code review changes * Add bedrock example * rename event stream helper * linting * remove incorrectly added example project * fix build * Fix tests * fix build and lint * apply review comments * revert merge conflict issue * lint * Split examples into multiple projects for bedrock, anthropic and foundry * apply review comments * Remove bedrock from general testing loop as currently unsupported by test tool * Update Examples * lint * Cleanup examples * update comment * update exception * Update src/Anthropic.Bedrock/LocalShims.cs * combine if statements * fix lint? --------- Co-authored-by: Stephen <stephen@stainless.com> * feat(api): manual updates * fix: update beta service to use output_config.format (#110) output_format is depracated in favour of output_config.format. Update api call configuration to reflect this change update test to reflect this change * fix build (#111) * chore: release main --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Co-authored-by: Matt Brailsford <me@mattbrailsford.com> Co-authored-by: dtmeadows <dmeadows@stainless.com> Co-authored-by: Stephen <stephen@stainless.com> Co-authored-by: Claude Code (/Users/davidmeadows/stainless/stainless) <noreply@anthropic.com> Co-authored-by: JPVenson <github@jpb.email> Co-authored-by: Andrea Sciutto <sciutand@gmail.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.
Adds Bedrock implementation for usage with api.
Notes:
Only the Model invoke and streaming endpoint is currently supported
this is the successor pr for #61