Skip to content

[Bug]: The intial agent in swarm did not get the initial message #1618

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

Open
hughlv opened this issue Apr 11, 2025 · 0 comments
Open

[Bug]: The intial agent in swarm did not get the initial message #1618

hughlv opened this issue Apr 11, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hughlv
Copy link
Contributor

hughlv commented Apr 11, 2025

Describe the bug

Here is the notebook to reproduce this issue:

https://github.com/dustland/roboco/blob/main/notebooks/empty_message_in_swarm.ipynb

When I call initiate_swarm_chat with messages either as an array of Message object or a plain str, the initial_agent passed to this function did not get the message, which cause the loss of the context. I guess it's essential to pass such message to generate_reply to get the correct response.

I'm not quite sure this is a bug or not. Please shed some light as it has blocked my project.

Steps to reproduce

Run this notebook can see it reports the initial agent in the swarm did not get the message:

https://github.com/dustland/roboco/blob/main/notebooks/empty_message_in_swarm.ipynb

Model Used

No response

Expected Behavior

The initial agent should get the initial message and then arrange the work such as hand_off based on the response.

Screenshots and logs

No response

Additional Information

No response

@hughlv hughlv added the bug Something isn't working label Apr 11, 2025
@marufaytekin marufaytekin self-assigned this Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants