fix(transports): normalize xhigh and minimal reasoning effort levels to high and low - #85334
Conversation
|
This was generated by AI during triage. Summary: Problems:
Solution: Evidenceno deterministic fact backs this claim — model belief, not executed or read evidence Checked against |
fix(transports): normalize xhigh and minimal reasoning effort levels to high and low
|
|
The premises here don't hold on current main, and one hunk would reintroduce a fixed bug class:
Closing — the effort-vocabulary class is centralized now, so narrow-vocabulary routes are a one-tuple declaration rather than transport-level rewrites. If you have a specific provider that rejects |
Fixes HTTP 400 error (invalid reasoning value 'xhigh') when reasoning effort is set to xhigh on OpenAI-compatible and Nous Portal endpoints. Clamps xhigh -> high and minimal -> low before assembling reasoning extra_body.