You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to investigate if functions that return SwarmResults in a swarm have the SwarmResult handled correctly. There may be an issue with serialisation of things like AfterWorkOption's that treats them as an agent name instead of the AfterWorkOption object.
We need to check that there's consistency with SwarmResult processing in swarm's _determine_next_speaker function when:
A function is registered with an agent via the register_function method
A function is registered with an agent via the register_for_llm decorator
A function is registered with an agent via the functions argument on creation
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
marklysze
changed the title
[Bug]: Functions register in a swarm may not be returning the correct SwarmResult
[Bug]: Functions registered in a swarm may not be returning the correct SwarmResult
Feb 26, 2025
Describe the bug
We need to investigate if functions that return SwarmResults in a swarm have the SwarmResult handled correctly. There may be an issue with serialisation of things like AfterWorkOption's that treats them as an agent name instead of the AfterWorkOption object.
We need to check that there's consistency with SwarmResult processing in swarm's
_determine_next_speaker
function when:register_function
methodregister_for_llm
decoratorfunctions
argument on creationSteps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: