-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Labels
Description
Can you provide a demo of how to use HandoffBuilder to create a workflow where an agent processes user input requests?
For example:
workflow = (
HandoffBuilder(
name="customer_support_handoff",
participants=[summary_agent, doc_agent, contact_agent, mail_agent],
)
.set_coordinator("meeting_summary_agent")
.enable_return_to_previous(True)
.build()
)
agent = workflow.as_agent()
while True:
print(" user: ",user)
async for chunk in agent.run_stream(
messages=user,
thread=thread,
):
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done