Skip to content
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

Swarm - First Speaker #58

Merged
merged 3 commits into from
Nov 21, 2024
Merged

Swarm - First Speaker #58

merged 3 commits into from
Nov 21, 2024

Conversation

marklysze
Copy link
Collaborator

@marklysze marklysze commented Nov 21, 2024

Why are these changes needed?

Updates to the First Speaker handling for the swarm.

Changes to initiate_swarm_chat:

  • Will create a temporary UserProxyAgent agent if: only one message passed in + the message doesn't have a name + no user agent has been passed in
  • Will clear the temporary UserProxyAgent's name from the chat history before returning from initiate_swarm_chat
  • init_agent parameter name changed to initial_agent for clarity

Related issue number

N/A

Checks

Copy link
Collaborator

@qingyun-wu qingyun-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you Mark!

@qingyun-wu qingyun-wu merged commit bc0543f into main Nov 21, 2024
188 of 196 checks passed
@marklysze marklysze deleted the swarm-first-speaker branch November 26, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants