samlonka commited on
Commit
c64eee9
1 Parent(s): 83fe5d4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ context = """
130
  # Function to create ReActAgent instance (change it based on your initialization logic)
131
  @st.cache_resource(show_spinner=False) # Set allow_output_mutation to True for mutable objects like instances
132
  def create_react_agent():
133
- return ReActAgent.from_tools(tools, llm=llm_AI4, context=context, verbose=True)
134
 
135
  # Example usage
136
  react_agent_instance = create_react_agent()
 
130
  # Function to create ReActAgent instance (change it based on your initialization logic)
131
  @st.cache_resource(show_spinner=False) # Set allow_output_mutation to True for mutable objects like instances
132
  def create_react_agent():
133
+ return ReActAgent.from_tools(tools, llm=llm_AI4, context=context, memory = memory, verbose=True)
134
 
135
  # Example usage
136
  react_agent_instance = create_react_agent()