summaryrefslogtreecommitdiff
path: root/src/Agent.Core/Prompts
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-08-11 22:04:42 +0900
committertanaka takashi <isazaka@gmail.com>2026-08-11 22:04:42 +0900
commit66701c56acb06c9cb56601f5deb65235f5178071 (patch)
tree70c04346c3715fca9058f5b123e69109d39e0d3a /src/Agent.Core/Prompts
parent6a9f90d0559f1ebf7967ab903f25d3e632d1f954 (diff)
Preserve planned tool parameters and bound failures
Diffstat (limited to 'src/Agent.Core/Prompts')
-rw-r--r--src/Agent.Core/Prompts/PromptComposer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Agent.Core/Prompts/PromptComposer.cs b/src/Agent.Core/Prompts/PromptComposer.cs
index 2899088..de209be 100644
--- a/src/Agent.Core/Prompts/PromptComposer.cs
+++ b/src/Agent.Core/Prompts/PromptComposer.cs
@@ -44,10 +44,10 @@ public static class PromptComposer
}
private static string ComposeExecutionRequirement(bool requiresExternalEffect) => requiresExternalEffect
- ? "The current Planner Task requires a verified external effect. Call the appropriate available Internal Tool now. " +
+ ? "Perform only the current Running Planner Task; do not perform Queued Tasks. The current Planner Task requires a verified external effect. Call the appropriate available Internal Tool now. " +
"A prose description, promise, plan, or fenced JSON example does not perform the operation and cannot complete this Task. " +
"After a successful read, use its returned content and proceed to the required write or process operation without repeating the read unnecessarily."
- : "The current Planner Task does not require an external effect. Use an Internal Tool only when its verified result is needed; do not claim an unverified result.";
+ : "Perform only the current Running Planner Task; do not perform Queued Tasks. The current Planner Task does not require an external effect. Use an Internal Tool only when its verified result is needed; do not claim an unverified result.";
private static string ComposeExecutionResults(IReadOnlyList<ExecutionResult> results)
{