Spaces:
Runtime error
Runtime error
agent.py
CHANGED
|
@@ -88,6 +88,8 @@ from autogen_agentchat.conditions import TextMentionTermination, MaxMessageTermi
|
|
| 88 |
termination = TextMentionTermination("TERMINATE") | MaxMessageTermination(5)
|
| 89 |
team_agent = RoundRobinGroupChat([assistant, summarizer], termination)
|
| 90 |
|
|
|
|
|
|
|
| 91 |
|
| 92 |
async def run_team_task(team, task_desc):
|
| 93 |
global current_task, current_token
|
|
|
|
| 88 |
termination = TextMentionTermination("TERMINATE") | MaxMessageTermination(5)
|
| 89 |
team_agent = RoundRobinGroupChat([assistant, summarizer], termination)
|
| 90 |
|
| 91 |
+
current_task = None
|
| 92 |
+
current_token = None
|
| 93 |
|
| 94 |
async def run_team_task(team, task_desc):
|
| 95 |
global current_task, current_token
|