qwen-code silently downgrades reasoning.effort 'max' to 'xhigh' via local reverse proxies

Michael-Logies · ghdev · 2026-10-22

Issue #15235 on QwenLM/qwen-code: setting reasoning.effort: max passes through verbatim on the direct Z.ai endpoint, but via a local reverse proxy the client silently rewrites the request to reasoning.effort="xhigh", leaving only a one-time debug warning. Root cause: DefaultOpenAICompatibleProvider's OPENAICOMPATIBLEEFFORTS list omits max, so clampReasoningEffort silently steps down one tier. The author argues it should forward verbatim or surface a visible, accurate reason.

Original post →

More from coding & agent

coding & agent channel →