Files
oh-my-pi/packages/coding-agent
RzNmKX 31c3ec55e7 fix(ai): restore xhigh thinking level for Bedrock Opus 4.6 (#481)
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
2026-03-20 23:29:12 +01:00
..
2026-01-03 14:53:38 +01:00
2026-03-18 23:21:20 +01:00

@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: