Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ def main():
|
|
152 |
# },
|
153 |
# handle_parsing_errors=True,
|
154 |
|
155 |
-
agent = create_react_agent(
|
156 |
tools = [db_search_tool,search_tool,datetime_tool]
|
157 |
agent_executor = AgentExecutor(agent=agent, tools=tools)
|
158 |
|
|
|
152 |
# },
|
153 |
# handle_parsing_errors=True,
|
154 |
|
155 |
+
agent = create_react_agent(llm, tools=[db_search_tool,search_tool,datetime_tool], prompt = prompt)
|
156 |
tools = [db_search_tool,search_tool,datetime_tool]
|
157 |
agent_executor = AgentExecutor(agent=agent, tools=tools)
|
158 |
|