Compare commits

...

1 Commits

Author SHA1 Message Date
Jiang Bohan
17134e2859 fix(daemon): add kiro and kimi to providerNeedsInlineSystemPrompt whitelist
Kiro and Kimi share Hermes' ACP architecture and already accept
SystemPrompt prepended in front of the user prompt (kiro.go:244-247,
kimi.go:256-257). Without daemon-side opt-in, ExecOptions.SystemPrompt
is never set, so per-task agent identity instructions are lost in
deployments that rely on inline injection (e.g. K3 Lens-style
daemon → wrapper → docker compose exec acp).

Co-authored-by: multica-agent <github@multica.ai>
2026-05-09 16:39:11 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1599,7 +1599,7 @@ func gcMetaForTask(task Task) (execenv.GCMeta, bool) {
func providerNeedsInlineSystemPrompt(provider string) bool {
switch provider {
case "openclaw", "hermes":
case "openclaw", "hermes", "kiro", "kimi":
return true
default:
return false

View File

@@ -186,6 +186,8 @@ func TestProviderNeedsInlineSystemPrompt(t *testing.T) {
}{
{provider: "openclaw", want: true},
{provider: "hermes", want: true},
{provider: "kiro", want: true},
{provider: "kimi", want: true},
{provider: "codex", want: false},
{provider: "claude", want: false},
}