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

I set streaming to True, but Autogen is still not streaming #1166

Closed
tyler-suard-parker opened this issue Jan 7, 2024 · 5 comments
Closed
Assignees

Comments

@tyler-suard-parker
Copy link
Contributor

Describe the bug

I followed the instructions and set streaming to True as described. However, text is still appearing as blocks in the terminal, not as streaming individual tokens.

Steps to reproduce

  1. Install AutoGen
  2. Set the parameter "stream" equal to True
  3. Run Autogen

Expected Behavior

The conversation should be materializing word by word, like when ChatGPT is streaming. Instead, I am getting whole messages after they have been received.

Screenshots and logs

No response

Additional Information

Windows, Python 3.9

@rickyloynd-microsoft
Copy link
Contributor

@tyler-suard-parker Thank you for creating this issue. Can you add some detail to the steps? In particular, which instructions did you follow, and which code did you run?

@bitnom
Copy link
Contributor

bitnom commented Jan 7, 2024

possibly related to #1118

@tyler-suard-parker
Copy link
Contributor Author

@bitnom VERY related, thank you.

@tyler-suard-parker
Copy link
Contributor Author

@tyler-suard-parker Thank you for creating this issue. Can you add some detail to the steps? In particular, which instructions did you follow, and which code did you run?

@rickyloynd-microsoft Thank you for your help on this, it looks like I was trying to use functions and that is a no-no with streaming for right now.

@bitnom
Copy link
Contributor

bitnom commented Jan 10, 2024

@tyler-suard-parker Thank you for creating this issue. Can you add some detail to the steps? In particular, which instructions did you follow, and which code did you run?

@rickyloynd-microsoft Thank you for your help on this, it looks like I was trying to use functions and that is a no-no with streaming for right now.

#1118 was merged to main. You may enable streaming with function calling. Also, keep an eye on #1184 since tools are replacing functions.

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

No branches or pull requests

4 participants