fix: agent thought not saved (#13631)

This commit is contained in:
非法操作
2025-02-13 10:17:39 +08:00
committed by GitHub
parent 316c418a01
commit 9ac6662635

View File

@ -329,6 +329,7 @@ class BaseAgentRunner(AppRunner):
)
if not updated_agent_thought:
raise ValueError("agent thought not found")
agent_thought = updated_agent_thought
if thought:
agent_thought.thought = thought