Skip to content

Use adaptive thinking for Sonnet 5.5 - #255

Open
qduc wants to merge 1 commit into
mainfrom
codex/sonnet-adaptive-thinking
Open

qduc wants to merge 1 commit into
mainfrom
codex/sonnet-adaptive-thinking

Conversation

@qduc

@qduc qduc commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Native Claude Sonnet 5.5 rejects Term2's fixed-budget thinking request with an invalid_request error. Send adaptive thinking with the requested effort for Sonnet 5.5 and dated IDs, preserving explicit provider options and the existing behavior for older models.

The Anthropic loopback integration covers medium, high and minimal effort, dated IDs, explicit overrides, unspecified effort and older-model controls. An independent verification also checked the provider-error path and a similar-looking model ID.

Validation: pnpm typecheck, pnpm lint, the focused provider integration test, and pnpm test:provider-black-box (270 passed, 5 skipped). Independent verification accepted the change; no live provider call was made for this source revision.

This branch has not been deployed

No deployments
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.

1 participant