Aabbhishekk commited on
Commit
ba5fa9e
1 Parent(s): 3454a86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -122,6 +122,7 @@ def main():
122
  agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
123
  tools=[human_ask_tool,db_search_tool,google_searchtool]
124
  if mode == "Agent with AskHuman tool"
 
125
  llm=llm,
126
  verbose=True,
127
  max_iterations=5,
 
122
  agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
123
  tools=[human_ask_tool,db_search_tool,google_searchtool]
124
  if mode == "Agent with AskHuman tool"
125
+ else tools = [human_ask_tool,db_search_tool,google_searchtool]
126
  llm=llm,
127
  verbose=True,
128
  max_iterations=5,