Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: bug that overwrote the llm model thought process when final_answ… (#17074)

jiangbo72134cba83ac4d5
diff --git a/api/core/agent/base_agent_runner.py b/api/core/agent/base_agent_runner.py
index 13c4e4c3d18..48c92ea2dba 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