mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-21 22:52:19 +03:00
Adds the default-off DISABLE_CONTEXT_WINDOW_CHECKS feature flag to let operators bypass OmniRoute's local context-window / max-input-token check (enforceOutputTokenBudget in chatCore.ts) for direct single-model requests, leaving upstream limits, prompt compression, and the model's own output-token cap active. Exposed via the dashboard feature-flag registry with localized labels/descriptions (de/en/pt-BR/vi). Rescoped from #10606: that PR also touched the combo-routing context filter (knownContextOverflow.ts / resolveAutoStrategy.ts / comboStructure.ts), but #10162 (merged earlier the same day, RFC #10141) already deleted that file and made combo-routing context checks advisory-only — never a hard reject. This PR keeps only the surviving chatCore.ts hard-reject bypass, which #10162 did not touch and which still has real value. Co-authored-by: JxnLexn <10897478+JxnLexn@users.noreply.github.com>