From ed57d2fafa6086f25d494b903db8536b4ead1bbf Mon Sep 17 00:00:00 2001 From: Dong_master <2213070223@qq.com> Date: Mon, 11 Aug 2025 23:49:19 +0800 Subject: [PATCH] del localagent.py print --- pkg/provider/runners/localagent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/runners/localagent.py b/pkg/provider/runners/localagent.py index 73d873ec..d8732eac 100644 --- a/pkg/provider/runners/localagent.py +++ b/pkg/provider/runners/localagent.py @@ -148,7 +148,7 @@ class LocalAgentRunner(runner.RequestRunner): if tool_call.function and tool_call.function.arguments: # 流式处理中,工具调用参数可能分多个chunk返回,需要追加而不是覆盖 tool_calls_map[tool_call.id].function.arguments += tool_call.function.arguments - print(list(tool_calls_map.values()) if (tool_calls_map and msg.is_final) else None) + # print(list(tool_calls_map.values()) if (tool_calls_map and msg.is_final) else None) # continue # 每8个chunk或最后一个chunk时,输出所有累积的内容 if msg_idx % 8 == 0 or msg.is_final: