Redmind commited on
Commit
72eb6f9
·
verified ·
1 Parent(s): 9a75da1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -503,7 +503,7 @@ def chat_with_llm(df,question):
503
  def bind_llm(llm, tools,prompt_template):
504
  llm = llm.bind()
505
  agent = create_tool_calling_agent(llm, tools, ChatPromptTemplate.from_template(prompt_template))
506
- agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True, max_execution_time=30, max_iterations=2)
507
  return agent_executor
508
 
509
  # Define input and output models using Pydantic
 
503
  def bind_llm(llm, tools,prompt_template):
504
  llm = llm.bind()
505
  agent = create_tool_calling_agent(llm, tools, ChatPromptTemplate.from_template(prompt_template))
506
+ agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
507
  return agent_executor
508
 
509
  # Define input and output models using Pydantic