chore: release main#90
Conversation
…ions (#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>
6aac326 to
4f7601b
Compare
4f7601b to
960b9db
Compare
960b9db to
0f18d09
Compare
fix(client): ensure deep immutability for deep array/dict structures
9e34cb1 to
e7ff2bd
Compare
27c10a8 to
4f8fed0
Compare
4f8fed0 to
4275f00
Compare
* Fix rebase merge conflicts * Rename factory field for rawResponse enabled client * Fix Linter
4275f00 to
1d12cce
Compare
1d12cce to
9a4c9ad
Compare
9a4c9ad to
098bd2b
Compare
|
@stephentoub there was a bug for a while that was causing tests not to run on CI; this is fixed on https://github.com/anthropics/anthropic-sdk-csharp/actions/runs/20974065747/job/60284513276?pr=90 Just wanted to make sure this is on your radar! |
098bd2b to
04b1097
Compare
I wasn't, thanks. It looks like #83 didn't fix all the necessary tests that were impacted. I just went to address them, but the next branch isn't building at all for me. Is that expected? |
|
Hmm, it builds fine for me (with one warning in an example, which probably should be fixed). What error are you running into? |
|
04b1097 to
9fa0819
Compare
|
@sd-st, for example, the next branch doesn't appear to contain a definition for BetaAPIError: |
|
Your second link shows BetaApiError, which does exist (it was renamed from BetaAPIError to BetaApiError per C# naming conventions) |
|
It does now. History keeps getting rewritten in next so I can't figure out when it was fixed, but I've just pulled it down again (vs having pulled it down a couple of hours ago) and it now builds. |
9fa0819 to
4d7249d
Compare
✨ Stainless prepared a new release
Anthropic: 12.2.0
12.2.0 (2026-01-14)
Full Changelog: Anthropic-v12.1.0...Anthropic-v12.2.0
Features
ToStringimplementations (ebebe2a)WithRawResponsein Foundry client (#92) (39ffeb2)Bug Fixes
Performance Improvements
Chores
Refactors
JsonDictionaryidentity methods (2c26557)ModelBase(8500f1e)JsonElementconstant construction (bb19b2b)Foundry: 0.4.0
0.4.0 (2026-01-14)
Full Changelog: Foundry-v0.3.0...Foundry-v0.4.0
Features
WithRawResponsein Foundry client (#92) (39ffeb2)Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions