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

Ability to retrieve RequestToSpeak messages from the GroupChatManager #5220

Open
rlaraki opened this issue Jan 27, 2025 · 1 comment
Open

Comments

@rlaraki
Copy link

rlaraki commented Jan 27, 2025

What feature would you like to be added?

Hello, to follow up on a discussion with @ekzhu, I am submitting this issue.
This is about the ability to retrieve the inner thoughts (or speaker selections) of the BaseGroupChatManager.
Ideally, those would be published in one topic, at the same time as the ChatMessages.

Why is this needed?

This is important to retrieve the next speaker before he speaks. This is to properly reflect it in the "reasoning" step in UIs e.g. Chainlit.

Image
@ekzhu ekzhu added this to the 0.4.x milestone Jan 27, 2025
@ekzhu
Copy link
Collaborator

ekzhu commented Jan 27, 2025

It's a general issue. I think one way to do this is to add a flag parameter to group chat teams, e.g., team_messages.

team = SelectorGroupChat([...], team_messages=True)

to include these orchestration messages such as RequestToSpeak in the task result and in run_stream.

Alternatively, just include them by default.

These messages may require separate message types to better annotate what is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants