-
Notifications
You must be signed in to change notification settings - Fork 22
MicrosoftExtensions: Normalize nullable union tool types #72
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
PederHP
wants to merge
38
commits into
anthropics:next
Choose a base branch
from
PederHP:meai_fix_tool_types
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
* Add some more tests for Anthropic{Beta}ClientExtensions
* Fix csharpier
* Readd TestBase * Use single source of truth for test parameter * Readd baseclass for codegen compatibility * Fix code style
refactor(internal): share get/set logic
* docs: correct reqs * chore(internal): suppress diagnostic for .netstandard2.0 * feat(client): improve csproj * chore(internal): set up cron release job * fix(internal): running net462 tests on ci * Improve code style on examples Remove obsolete examples Include all examples in example sln * codestyle improvements * adapt build script to also build examples --------- Co-authored-by: Tomer Aberbach <[email protected]> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
* Update version for src/Anthropic in manifest * Add src/Anthropic to release-please config
The implementation was missing a clear on the collection of streaming data. As such, it would each tool already yielded every time it yielded another tool.
anthropics#63) * Add beta headers automatically for HostedCodeInterpreter/McpServerTool * format
…s#58) * Add WithSkills convenience method to MEAI extensions * Refactor to use AsAITool approach * Align with existing AsAITool pattern * Unify with beta header inclusion from anthropics#63 * Fix bug * Ran /scripts/format * Update src/Anthropic/Services/Beta/Messages/AnthropicBetaClientExtensions.cs Co-authored-by: Stephen Toub <[email protected]> --------- Co-authored-by: Stephen Toub <[email protected]>
* Improve reporting of token counts in UsageDetails - InputTokenCount needs to reflect cached tokens. - Only add to AdditionalCounts for positive counts. - Added reporting of WebFetch/SearchRequests. * lint * lint take 2
f984bf5 to
f0d5a56
Compare
a6ccfa7 to
007b0c0
Compare
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.
See: modelcontextprotocol/csharp-sdk#1091
Tools with
["integer", "null"]discriminated union style types to provide additional information on default when non provided for non-required properties would cause the following error:tools.0.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12 (https://json-schema.org/draft/2020-12). Learn more about tool use at https://docs.claude.com/en/docs/tool-use.