mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-08-30 15:05:35 +00:00
The per-agent options builder only emitted WithReasoning for low/medium/high, and the langchaingo fork clamped xhigh/max to high in GetEffort (treating them as adaptive-only). OpenAI GPT-5.5 and GLM-5.2 now expose xhigh/max as real reasoning_effort levels, so that clamp encodes a stale invariant. Extend the effort switch to pass xhigh/max through; the fork's GetEffort clamp is removed in the local langchaingo (propagated via vendor) so the OpenAI transport emits the real level. Adaptive (anthropic/bedrock) and budget paths are unaffected — GetEffort is called only by the OpenAI transport. Validity is gated per model by ModelReasoningInfo.Efforts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>