Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -350,6 +350,8 @@ class MagAgent:
|
|
| 350 |
# Verify template contains actual task placeholder
|
| 351 |
if "{task}" not in self.prompt_templates["managed_agent"]["template"]:
|
| 352 |
raise ConfigurationError("Managed agent template missing {task} placeholder")
|
|
|
|
|
|
|
| 353 |
|
| 354 |
self.tools = [
|
| 355 |
UniversalLoader(),
|
|
|
|
| 350 |
# Verify template contains actual task placeholder
|
| 351 |
if "{task}" not in self.prompt_templates["managed_agent"]["template"]:
|
| 352 |
raise ConfigurationError("Managed agent template missing {task} placeholder")
|
| 353 |
+
|
| 354 |
+
print("Managed Agent Template:", self.prompt_templates["managed_agent"]["template"])
|
| 355 |
|
| 356 |
self.tools = [
|
| 357 |
UniversalLoader(),
|