Spaces:
Running
Running
Commit History
-
feat(router): Kilo Code Gateway as FIRST provider — flagship free ladder + never-stop cascade
Z UserOwner requirement: the bot's first provider is kilocode (priority 5, seeded from KILOCODE_API_KEY at every boot — including EXISTING deployments via the env→DB row-creation sync). Free-model ladder live-verified on the gateway: - nvidia/nemotron-3-ultra-550b-a55b:free leads BOTH chat lanes (FLAGSHIP_RE ordering: tier → flagship → contextLength DESC) — expert Arabic grammar, 1M ctx, ~3s TTFB streaming (prod-verified locally). - super-vl (text+image+video, 1M) leads the vision ladder; nano-omni / lightning / super-120b / flint back it up; xingchen 429s upstream. - Gateway META/ALIAS models excluded from the chat lane after live probes (kilo-auto/free 12.4s→EMPTY, stealth/glyph-cluster 13.1s→EMPTY, openrouter/free 3.2s→EMPTY, reflection/beam-free swaps inner model) — exactly the dud pattern; they stay visible in the dashboard. - Cascade contract: each exhausted kilo model (429/404) cools down per-model and the walk moves to the NEXT model, then groq → openrouter → nvidia — …b7f9141