We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e3576 commit d37e9a8Copy full SHA for d37e9a8
1 file changed
astrbot/core/agent/runners/tool_loop_agent_runner.py
@@ -130,8 +130,8 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
130
"Do not return an empty response. "
131
"Do not ignore the selected tools without explanation."
132
)
133
- REPEATED_TOOL_NOTICE_L1_THRESHOLD = 2
134
- REPEATED_TOOL_NOTICE_L2_THRESHOLD = 3
+ REPEATED_TOOL_NOTICE_L1_THRESHOLD = 3
+ REPEATED_TOOL_NOTICE_L2_THRESHOLD = 4
135
REPEATED_TOOL_NOTICE_L3_THRESHOLD = 5
136
REPEATED_TOOL_NOTICE_L1_TEMPLATE = (
137
"\n\n[SYSTEM NOTICE] By the way, you have executed the same tool "
0 commit comments