mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 02:39:05 +08:00
fix: bug that overwrote the llm model thought process when final_answ… (#17074)
Co-authored-by: 刘江波 <jiangbo721@163.com>
This commit is contained in:
parent
fb11264f42
commit
34cba83ac4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user