Translates a reasoning level to the Anthropic request fragment to merge into settings. Returns {} when reasoning is not requested, unsupported, or disabled — so the caller can spread it unconditionally.
settings
{}
See https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking.
'effort' for adaptive thinking, 'budget' for legacy extended thinking.
'effort'
'budget'
set on models that accept the xhigh effort value.
xhigh
Translates a reasoning level to the Anthropic request fragment to merge into
settings. Returns{}when reasoning is not requested, unsupported, or disabled — so the caller can spread it unconditionally.See https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking.