update start_long_term desc: remove single-call limit, add 15-turn rule

This commit is contained in:
Jiaqing Liang
2026-03-02 17:25:22 +08:00
parent 82991c4a69
commit 066a2995e4
5 changed files with 17 additions and 8 deletions

View File

@@ -69,6 +69,7 @@ def agent_runner_loop(client, system_prompt, user_input, handler, tools_schema,
showarg = get_pretty_json(args)
if not verbose and len(showarg) > 200: showarg = showarg[:200] + ' ...'
yield f"🛠️ **正在调用工具:** `{tool_name}` 📥**参数:**\n````text\n{showarg}\n````\n"
handler.current_turn = turn + 1
gen = handler.dispatch(tool_name, args, response)
if verbose:
yield '`````\n'