Skip to content

feat(anthropic): add Claude 4.6 adaptive thinking support#1480

Open
illegalcall wants to merge 4 commits into0xPlaygrounds:mainfrom
illegalcall:feat/anthropic-adaptive-thinking
Open

feat(anthropic): add Claude 4.6 adaptive thinking support#1480
illegalcall wants to merge 4 commits into0xPlaygrounds:mainfrom
illegalcall:feat/anthropic-adaptive-thinking

Conversation

@illegalcall
Copy link
Copy Markdown
Contributor

@illegalcall illegalcall commented Mar 6, 2026

Fixes #1452

Summary

Adds Anthropic Claude 4.6 adaptive thinking support in rig-core, including typed handling for thinking and output_config in both streaming and non-streaming requests.

This also preserves legacy manual thinking support and adds validation for known unsupported models.

Testing

  • cargo test -p rig-core test_adaptive_thinking -- --nocapture

Comment thread rig/rig-core/CHANGELOG.md Outdated
@illegalcall
Copy link
Copy Markdown
Contributor Author

Hey @0xMochan just wanted to know, if i need to do anything here? Or this is planned to be merged at a later date.

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.

feat(anthropic): new "reasoning level" format

2 participants