Skip to content

fix(provider): drop top-level schema composition for Anthropic MCP tools - #39826

Open
vrutkovs wants to merge 1 commit into
anomalyco:devfrom
vrutkovs:anthropic-mcp-schema-sanitize
Open

fix(provider): drop top-level schema composition for Anthropic MCP tools#39826
vrutkovs wants to merge 1 commit into
anomalyco:devfrom
vrutkovs:anthropic-mcp-schema-sanitize

Conversation

@vrutkovs

Copy link
Copy Markdown

Issue for this PR

Closes #37916

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Applies the same approach as in #32489 to Anthropic models.

How did you verify your code works?

  • bun test test/provider/transform.test.ts --timeout 30000
  • bun run typecheck
  • Push hook also ran bun turbo typecheck successfully
  • Manual verification via nix install

Screenshots / recordings

Non-UI change

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Anthropic models error Input_schema does not support oneOf, allOf, or anyOf at the top level

1 participant