sanchezpaez commited on
Commit
bd0f8f7
·
verified ·
1 Parent(s): d2b959e

Add tools as an empty list to instantiate agent

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
63
  # 1. Instantiate Agent ( modify this part to create your agent)
64
  try:
65
  model = OpenAIModel()
66
- agent = BasicAgent(tools=tools, model=model, planning_interval=3)
67
  except Exception as e:
68
  print(f"Error instantiating agent: {e}")
69
  return f"Error initializing agent: {e}", None
 
63
  # 1. Instantiate Agent ( modify this part to create your agent)
64
  try:
65
  model = OpenAIModel()
66
+ agent = BasicAgent(tools=[], model=model, planning_interval=3)
67
  except Exception as e:
68
  print(f"Error instantiating agent: {e}")
69
  return f"Error initializing agent: {e}", None