Kalamazooter commited on
Commit
6fc57bd
·
verified ·
1 Parent(s): cbeb665

reset memory to not make it stop working after being used twice (i hope)

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +1 -1
Gradio_UI.py CHANGED
@@ -126,7 +126,7 @@ def pull_messages_from_step(
126
  def stream_to_gradio(
127
  agent,
128
  task: str,
129
- reset_agent_memory: bool = False,
130
  additional_args: Optional[dict] = None,
131
  ):
132
  """Runs an agent with the given task and streams the messages from the agent as gradio ChatMessages."""
 
126
  def stream_to_gradio(
127
  agent,
128
  task: str,
129
+ reset_agent_memory: bool = True,
130
  additional_args: Optional[dict] = None,
131
  ):
132
  """Runs an agent with the given task and streams the messages from the agent as gradio ChatMessages."""