From 66701c56acb06c9cb56601f5deb65235f5178071 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Tue, 11 Aug 2026 22:04:42 +0900 Subject: Preserve planned tool parameters and bound failures --- src/Agent.Core/Runtime/PlannerService.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Agent.Core/Runtime/PlannerService.cs') diff --git a/src/Agent.Core/Runtime/PlannerService.cs b/src/Agent.Core/Runtime/PlannerService.cs index 7d8c3e1..aa7d3a5 100644 --- a/src/Agent.Core/Runtime/PlannerService.cs +++ b/src/Agent.Core/Runtime/PlannerService.cs @@ -289,6 +289,8 @@ public sealed class PlannerService(IOllamaClient ollama, AgentRuntimeSettings se For pure analysis or informational tasks, requires_external_effect should be false. For tasks that modify files, run processes, or produce verifiable side effects, requires_external_effect should be true. Read-only operations (file_read, file_search, and dir list) do not create an external effect and must use requires_external_effect=false. + Preserve every user-supplied absolute path, executable, cwd, argument array, operation name, and literal value exactly in the task that uses it; never abbreviate these values into a shell-like command. + Keep each task limited to its own described operation. Do not put later dependent operations into an earlier task. A single task is valid for simple requests. """; -- cgit v1.2.3