-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Swarm
work with HandoffTermination
#4199
Comments
Thought of something a bit hacky but working, might give some inspiration... Custom
|
I believe we need this for the documentation of Swarm. |
Currently
Swarm
does not work withHandoffTermination
, because the handoff message to user or a name that is not part of the swarm's participants will trigger an error when choosing the next speaker.The caller must provide a new
HandoffMessage
in response when resuming the same thread, to make sure the handoff to the next target is properly done. This requires:run
andrun_stream
acceptingChatMessage
type.HandoffMessage
is not provided.The text was updated successfully, but these errors were encountered: