mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-10 16:05:08 -05:00
Fix-swarm-handoff (#4198)
* fix select speaker for swarm * Fix max-turn = 1 for swarm
This commit is contained in:
@@ -281,7 +281,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.5"
|
||||
"version": "3.12.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
@@ -764,6 +764,16 @@
|
||||
"# Use `asyncio.run(Console(lazy_agent_team.run_stream(task=\"It is raining in New York.\")))` when running in a script.\n",
|
||||
"await Console(lazy_agent_team.run_stream(task=\"It is raining in New York.\"))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"```{note}\n",
|
||||
"Currently the handoff termination approach does not work with {py:class}`~autogen_agentchat.teams.Swarm`.\n",
|
||||
"Please stay tuned for the updates.\n",
|
||||
"```"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user