Files
kilocode/packages/opencode/test
b8b915739c refactor(prompts): hoist Kilo model-specific prompt checks to the front (#9815)
* 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>
2026-05-04 10:55:19 +02:00
..
2026-04-27 13:56:08 +02:00
2026-04-28 10:20:13 +03:00
…
2026-04-27 13:56:08 +02:00
2026-04-27 13:56:08 +02:00
2026-04-15 14:26:20 +00:00
…
2026-04-27 13:56:08 +02:00
2026-04-24 16:58:05 +02:00
2026-04-21 18:03:34 +02:00
2026-04-21 18:03:34 +02:00
2026-04-27 15:57:16 +02:00
2026-04-27 13:56:08 +02:00
2026-04-27 13:56:08 +02:00
2026-04-27 13:56:08 +02:00
2026-04-23 16:00:01 +00:00