Spaces:
Sleeping
Sleeping
Update OpenRouter_Agent.py
Browse files- OpenRouter_Agent.py +6 -1
OpenRouter_Agent.py
CHANGED
|
@@ -129,4 +129,9 @@ class MultiAgentSystem:
|
|
| 129 |
raise Exception(output)
|
| 130 |
return True
|
| 131 |
|
| 132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
raise Exception(output)
|
| 130 |
return True
|
| 131 |
|
| 132 |
+
def __call__(self, task: str) -> str:
|
| 133 |
+
"""
|
| 134 |
+
Run the manager_agent on the given user task and
|
| 135 |
+
return its final answer text.
|
| 136 |
+
"""
|
| 137 |
+
return self.manager_agent(task)
|