Aabbhishekk commited on
Commit
c59df01
1 Parent(s): fff7257

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ def main():
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
 
159
  # question form
160
  with st.form(key="form"):
 
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,max_iterations=10)
158
 
159
  # question form
160
  with st.form(key="form"):