mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 20:46:02 +08:00
fix: unable to fetch CoT agent runner log (#4052)
This commit is contained in:
parent
6f1e4a19a2
commit
b1399cd5f9
@ -219,7 +219,7 @@ class CotAgentRunner(BaseAgentRunner, ABC):
|
|||||||
tool_input={scratchpad.action.action_name: scratchpad.action.action_input},
|
tool_input={scratchpad.action.action_name: scratchpad.action.action_input},
|
||||||
thought=scratchpad.thought,
|
thought=scratchpad.thought,
|
||||||
observation={scratchpad.action.action_name: tool_invoke_response},
|
observation={scratchpad.action.action_name: tool_invoke_response},
|
||||||
tool_invoke_meta=tool_invoke_meta.to_dict(),
|
tool_invoke_meta={scratchpad.action.action_name: tool_invoke_meta.to_dict()},
|
||||||
answer=scratchpad.agent_response,
|
answer=scratchpad.agent_response,
|
||||||
messages_ids=message_file_ids,
|
messages_ids=message_file_ids,
|
||||||
llm_usage=usage_dict['usage']
|
llm_usage=usage_dict['usage']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user