Skip to content

provider: drop dead xhigh branch in NormalizeReasoningEffort - #652

Merged
glemsom merged 1 commit into
mainfrom
646-drop-dead-xhigh-branch
Aug 29, 2026
Merged

provider: drop dead xhigh branch in NormalizeReasoningEffort#652
glemsom merged 1 commit into
mainfrom
646-drop-dead-xhigh-branch

Conversation

@glemsom

@glemsom glemsom commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Implements #646.

Summary

Removes the legacy xhighhigh special case in NormalizeReasoningEffort. Unknown reasoning-effort tiers now pass through unchanged, consistent with every other value (low, medium, high, max, ```, bogus).

Changes

  • internal/provider/provider.go: drop the xhigh branch from NormalizeReasoningEffort
  • internal/provider/openai_test.go:
    • TestNormalizeReasoningEffort now asserts xhigh passes through unchanged
    • TestOpenAIEmitsThinkingAndReasoningEffort uses a real tier (high) instead of the removed legacy value

Verification

  • go build ./... passes
  • go test ./internal/provider/... passes
  • go vet ./... passes (the bwrap sandbox test failures in internal/app/internal/engine/internal/tools are pre-existing container-privilege limitations, confirmed failing on main)

The Settings UI cycles through {low, medium, high, max} and config
defaults to low, so xhigh is never produced by the UI and is only
reachable via a hand-edited config value the surface cannot emit.
NormalizeReasoningEffort now passes unknown tiers through unchanged,
consistent with its handling of every other value.

Fixes #646
@glemsom
glemsom merged commit ec5fbdf into main Aug 29, 2026
1 check passed
@glemsom
glemsom deleted the 646-drop-dead-xhigh-branch branch August 29, 2026 09:18
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