refactor(prompts): collapse agent prompt into system prompt

This commit is contained in:
mika kuns
2026-06-04 13:59:44 +02:00
parent 9bdf99d95f
commit 883dbc6af7

View File

@@ -380,10 +380,9 @@ public sealed class TaskRunner
}
var systemFile = PromptFiles.ReadOrNull(PromptKind.System);
var agentFile = PromptFiles.ReadOrNull(PromptKind.Agent);
var instructions = MergeInstructions(
systemFile, global.DefaultClaudeInstructions, listConfig?.SystemPrompt, task.SystemPrompt, agentFile);
systemFile, global.DefaultClaudeInstructions, listConfig?.SystemPrompt, task.SystemPrompt);
return new ClaudeRunConfig(
Model: task.Model ?? listConfig?.Model ?? global.DefaultModel,