Use adaptive thinking for Claude requests and rewrite passthrough bodies that still contain the legacy enabled type. Co-Authored-By: Codex <noreply@anthropic.com>