Spaces:
Paused

icebear0828 Claude Opus 4.6 commited on
Commit
be3ca8e
·
1 Parent(s): 6c4df8c

fix: support thinking.type "adaptive" for latest Claude Code

Browse files

Claude Code now sends thinking.type: "adaptive" (with optional
budget_tokens) instead of always "enabled"/"disabled". Added the
new variant to the Zod schema and translation logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

2 files changed +14 -1
Files changed (2)
src/translation/anthropic-to-codex.ts+4
src/types/anthropic.ts+10-1