Repository navigation
v0.6.3
What's new
Thinking-off now fully disables reasoning (#40, @fredtanxo)
Turning thinking off previously only sent enable_thinking: false while model_config.is_reasoning stayed true, so the gateway kept routing the model as reasoning-enabled — and for models whose catalog has no disabled branch, clampThinkingLevel could even snap "off" back up to the lowest effort. The off path now emits qodercli's full disable signal set (enable_thinking: false + reasoning_effort: "none" + is_reasoning: false in both model_config and chat_context), normalizes every host's off signal ("off" / false / OMP's disableReasoning / forceReasoningOff), and skips clamping when off.
Follow-up: no reasoning_effort: "none" for models without a disabled branch (030a1fb)
Live verification against the real gateway showed that strict-enum upstreams without a disabled branch (e.g. Sonus) reject reasoning_effort: "none" with a 400. When the catalog positively shows the branch is missing (effort-based thinking_config without disabled, or thinkingLevelMap off: null), the effort signal is now omitted; the other disable signals still go out and models with a disabled branch are unchanged.
Recover from transient model-busy (10605) rejections (#41, @summer-tt)
Qoder's scheduler reports a busy model as HTTP 200 with an SSE envelope carrying statusCodeValue 403 and nested error 10605 / RESOURCE_LIMIT, which previously failed the whole turn with a non-retryable error. The provider now parses the nested envelope and recovers only for the ready state (isQueued: false + serviceAvailable: true): bounded local retries honoring retryAfterSeconds, maxRetries and maxRetryDelayMs (5s hard cap), fresh request_id/chat_record_id and re-signing per attempt, per-attempt state cleanup, abort handling, and no retry once any model output has been emitted. When the local budget is exhausted, the error is reported as retryable so the host's retry policy can take over.
Verification
- 399 tests passing (22 files), lint / typecheck / build clean, CI green.
- Live gateway checks: Ultimate with thinking
highreasons and withoffreturns zero reasoning content; Sonusoffno longer errors after the follow-up fix.