-
Notifications
You must be signed in to change notification settings - Fork 3k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Agent output streams #169
Comments
Interesting, curious to hear more about the use cases so we can get something that is great for those, anything comes to mind? |
One use case would be to stream, agent result to a web frontend. |
I agree, i'd like to send answers via WebSockets to a web client. |
I also want to be able to stream live output to a frontend. Seems like it is also related to #146 |
Currently I found a workaround to capture terminal output while crew.kickoff() is working with subprocess and to stream the stdout. It’s ugly and gets unsupported characters, but at least can stream. |
please, share the code from io import StringIO # Python 3
import sys
# Create the in-memory "file"
temp_out = StringIO()
# Replace default stdout (terminal) with our stream
sys.stdout = temp_out
print("This is going in to the memory stream") Sometimes i see agents questions to one another in console, i'd really like to capture these too |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I just saw that AutoGen is planning to add an output streams feature beyond console output.
microsoft/autogen#1290 (comment)
This would be great if crewAI would provide a similar feature.
The text was updated successfully, but these errors were encountered: