Spaces:
Sleeping
Sleeping
fix: initialize agent
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 89 |
],
|
| 90 |
backstory=TOOL_USE_SYS_PROMPT
|
| 91 |
)
|
| 92 |
-
agent.
|
| 93 |
|
| 94 |
except Exception as e:
|
| 95 |
print(f"Error instantiating agent: {e}")
|
|
|
|
| 89 |
],
|
| 90 |
backstory=TOOL_USE_SYS_PROMPT
|
| 91 |
)
|
| 92 |
+
agent.initialize()
|
| 93 |
|
| 94 |
except Exception as e:
|
| 95 |
print(f"Error instantiating agent: {e}")
|