Add tools as an empty list to instantiate agent
Browse files
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=
|
| 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
|