From 34cba83ac4d56011794a3cd6a18b95fa0f0603d1 Mon Sep 17 00:00:00 2001 From: jiangbo721 <365065261@qq.com> Date: Fri, 28 Mar 2025 23:41:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bug=20that=20overwrote=20the=20llm=20mod?= =?UTF-8?q?el=20thought=20process=20when=20final=5Fansw=E2=80=A6=20(#17074?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 刘江波 --- api/core/agent/base_agent_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/agent/base_agent_runner.py b/api/core/agent/base_agent_runner.py index 13c4e4c3d1..48c92ea2db 100644 --- a/api/core/agent/base_agent_runner.py +++ b/api/core/agent/base_agent_runner.py @@ -332,7 +332,7 @@ class BaseAgentRunner(AppRunner): agent_thought = updated_agent_thought if thought: - agent_thought.thought = thought + agent_thought.thought += thought if tool_name: agent_thought.tool = tool_name