31c3ec55e7
The 8e3e0ebf9 refactor centralized thinking inference but dropped
Bedrock-specific handling:
- inferAnthropicSupportedEfforts gated xhigh on anthropic-messages API,
excluding Bedrock models
- inferThinkingControlMode returned 'budget' for all Bedrock models
instead of 'anthropic-adaptive' for 4.6+
- parseAnthropicModel regex captured Bedrock date suffixes (20250819)
as version components, causing parseSemVer to return null
Fixes:
- Remove API guard from inferAnthropicSupportedEfforts so Opus 4.6+
gets xhigh regardless of API transport
- Add Anthropic version checks to Bedrock case in
inferThinkingControlMode (4.6+ adaptive, 4.5+ budget-effort)
- Narrow version regex from \d+ to \d{1,2} so date suffixes in
Bedrock model IDs are not absorbed
- Update four stale Bedrock Opus 4.6 entries in models.json
- Add thinkingBudgets.xhigh (default 32768) to settings schema
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: