mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-09-21 14:35:29 +08:00
fix: prevent explain purpose before every tool call
This commit is contained in:
@@ -25,9 +25,8 @@ SANDBOX_MODE_PROMPT = (
|
||||
TOOL_CALL_PROMPT = (
|
||||
"When using tools: "
|
||||
"never return an empty response; "
|
||||
"briefly explain the purpose before calling a tool; "
|
||||
"briefly explain the purpose when starting a new type of task, but not before every tool call; "
|
||||
"follow the tool schema exactly and do not invent parameters; "
|
||||
"after execution, briefly summarize the result for the user; "
|
||||
"keep the conversation style consistent."
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user