Support declarative configs for BaseGroupChat (and derivatives) - RoundRobinGroupChat, SelectorGroupChat, MagenticOne etc #5064
Open
Description
Support a workflow where an AgentChat team configuration can be made declarative
# dump
agent = AssistantAgent(
name="assistant",
model_client=model_client,
handoffs=["flights_refunder", "user"],
tools=[web_search],
system_message="Use tools to solve tasks.",
)
team = RoundRobinGroupChat(participants=[agent], ...)
team_spec = team.dump_component()