Skip to content

Commit

Permalink
Fixes run-llama#11389 (agent_react_multimodal_step.py bug) (run-llama…
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschock authored and chrisalexiuk-nvidia committed Apr 25, 2024
1 parent 677274c commit e4a9095
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions llama-index-core/llama_index/core/agent/react_multimodal/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ def _run_step(
# 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
Expand Down Expand Up @@ -428,9 +428,9 @@ async def _arun_step(
"""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
Expand Down

0 comments on commit e4a9095

Please sign in to comment.