Skip to content
Snippets Groups Projects
Unverified Commit c24a2961 authored by Michael Schock's avatar Michael Schock Committed by GitHub
Browse files

Fixes #11389 (agent_react_multimodal_step.py bug) (#12566)

parent ead70653
No related branches found
No related tags found
No related merge requests found
......@@ -388,9 +388,9 @@ class MultimodalReActAgentWorker(BaseAgentWorker):
# an intermediate step in the middle
if step.input is not None:
self._add_user_step_to_reasoning(
step,
task.extra_state["new_memory"],
task.extra_state["current_reasoning"],
step=step,
memory=task.extra_state["new_memory"],
current_reasoning=task.extra_state["current_reasoning"],
verbose=self._verbose,
)
# TODO: see if we want to do step-based inputs
......@@ -428,9 +428,9 @@ class MultimodalReActAgentWorker(BaseAgentWorker):
"""Run step."""
if step.input is not None:
self._add_user_step_to_reasoning(
step,
task.extra_state["new_memory"],
task.extra_state["current_reasoning"],
step=step,
memory=task.extra_state["new_memory"],
current_reasoning=task.extra_state["current_reasoning"],
verbose=self._verbose,
)
# TODO: see if we want to do step-based inputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment