Skip to content

Conversation

@randombet
Copy link
Collaborator

@randombet randombet commented Nov 20, 2025

Why are these changes needed?

Anthropic released new structured output APIs. https://platform.claude.com/docs/en/build-with-claude/structured-outputs

Add support as some users asked for this.

Related issue number

Checks

Some unrelated tests failed.
https://github.com/ag2ai/ag2/actions/runs/19579226806/job/56072652113

@randombet randombet requested a review from marklysze November 20, 2025 20:09
@joggrbot
Copy link
Contributor

joggrbot bot commented Nov 20, 2025

📝 Documentation Analysis

Joggr found 1 outdated docs in the pull request.

Autofix

Joggr opened 1 pull request(s) to fix the outdated docs.

Outdated

file reason confidence
website/docs/user-guide/models/anthropic.mdx The document remains broadly accurate for basic and intermediate usage of Anthropic Claude with AG2 (config, tool use, thinking mode, API requirements), but it is not up to date on key advanced features now landed in the codebase: native structured outputs (beta API, strict tools, dual fallback modes, and associated model/version requirements). Most critically, it does not mention strict tool/response_format mode capabilities or new model requirements for those features. 55.8%

✅ Latest commit analyzed: b2b0915 | Powered by Joggr

@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 10.12270% with 293 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
autogen/oai/anthropic.py 10.12% 293 Missing ⚠️
Files with missing lines Coverage Δ
autogen/oai/anthropic.py 19.50% <10.12%> (-4.66%) ⬇️

... and 19 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants