mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-30 19:32:39 +08:00
* refactor(cli): hoist Kilo model-specific prompt checks to the front Extract the Kilo metadata-driven prompt selection into a dedicated kiloPrompt() helper and invoke it with an early return at the top of provider(). This ensures Kilo-specific prompt routing takes priority over upstream heuristics and leaves the upstream if-chain untouched, reducing future merge conflicts when opencode adjusts its own model-specific prompt branching. No behavior change. * fix(cli): preserve Ling prompt fallback precedence * fix(cli): keep prompt annotations scoped --------- Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com> Co-authored-by: marius-kilocode <marius@kilocode.ai>