Spaces:
Sleeping
Sleeping
samlonka
commited on
Commit
•
c64eee9
1
Parent(s):
83fe5d4
'memory'
Browse files
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()
|