From cafd4a18daa15a311a69e4c43683331359f01c81 Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Tue, 11 Mar 2025 17:39:28 +0800 Subject: [PATCH] fix infinite loop --- app/prompt/manus.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/prompt/manus.py b/app/prompt/manus.py index 7c5b686..442b547 100644 --- a/app/prompt/manus.py +++ b/app/prompt/manus.py @@ -11,4 +11,8 @@ BrowserUseTool: Open, browse, and use web browsers.If you open a local HTML file GoogleSearch: Perform web information retrieval Based on user needs, proactively select the most appropriate tool or combination of tools. For complex tasks, you can break down the problem and use different tools step by step to solve it. After using each tool, clearly explain the execution results and suggest the next steps. -""" + +Terminate: End the current interaction when the task is complete or when you need additional information from the user. Use this tool to signal that you've finished addressing the user's request or need clarification before proceeding further. + +Always maintain a helpful, informative tone throughout the interaction. If you encounter any limitations or need more details, clearly communicate this to the user before terminating. +""" \ No newline at end of file