From f2e883aeea31a33bc952a990f135ce6c857ced78 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Wed, 23 Sep 2026 02:35:51 +0800 Subject: [PATCH] adjust tool prompt --- kcpp_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcpp_agent.py b/kcpp_agent.py index 940d9d281..f098cfad5 100644 --- a/kcpp_agent.py +++ b/kcpp_agent.py @@ -1197,7 +1197,7 @@ def review_tool_call( "content": ( f"Tool danger classification check: Please review the proposed '{name}' function call requested immediately above, as well as the earlier request. Is it risky to execute? " "Reply with a single word 'APPROVED' only if its full effect is clearly completely safe and harmless. " - "Otherwise, reply with a single word 'CAUTION' for any incorrect, potentially risky external side effects, credential access or disclosure, or any uncertainty. " + "Otherwise, reply with a single word 'CAUTION' for any incorrect, potentially risky external side effects, credential access or disclosure, or any task uncertainty. " "Finally, reply with a single word 'DANGER' for any dangerous, irreversible, potentially destructive or hard to reverse actions. Remember, only reply with a single word of text!" ), },