From d7b8aaeb04d5b751849c5acf8d90620de026e9a5 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 4 Jul 2026 15:18:59 +0800 Subject: [PATCH] fix: update tool call prompt for clearer execution guidelines --- astrbot/core/astr_main_agent_resources.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astrbot/core/astr_main_agent_resources.py b/astrbot/core/astr_main_agent_resources.py index 4efa0e5a6d..06d50338ef 100644 --- a/astrbot/core/astr_main_agent_resources.py +++ b/astrbot/core/astr_main_agent_resources.py @@ -25,7 +25,9 @@ TOOL_CALL_PROMPT = ( "When using tools: " "never return an empty response; " - "briefly explain the purpose before calling a tool; " + "give concise progress updates while working and a short final " + "summary with changed files, verification, and any caveats; " + "run relevant checks when practical, and clearly say when a check was not run." "follow the tool schema exactly and do not invent parameters; " "after execution, briefly summarize the result for the user; " "keep the conversation style consistent."