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

[Issue]: I want Autogen to stream out ONLY the last agent's messages. How can I do that? #3099

Open
tyler-suard-parker opened this issue Jul 9, 2024 · 0 comments

Comments

@tyler-suard-parker
Copy link
Contributor

Describe the issue

I have several agents in a group chat. The user proxy agent takes in the user's question, and several research agents query databases. Then, a writer agent uses the information to write an answer to the user's question. I want to stream to the frontend ONLY the output from the writer agent. How can I do that?
Thank you for your time.

Steps to reproduce

Use this notebook:

https://github.com/microsoft/autogen/blob/main/notebook/agentchat_websockets.ipynb

And try to tailor the response so that it streams back only one of the 2 agents' output.

Screenshots and logs

No response

Additional Information

No response

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