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

adding NON-BREAKING/BACKWARDS-COMPATIBLE support for LangChain's v1 astream event #576

Conversation

thaddavis
Copy link

@thaddavis thaddavis commented Aug 31, 2024

Description: Adding NON-BREAKING/BACKWARDS-COMPATIBLE support for LangChain's v1 astream events to the AgentRearrange & Agent classes. PLUS this PR include an example of how to use it.

Issue: Would like to stream the tokens of each agent in a swarm for enhanced UI/UX for a Web Application I am building on top of Swarms

Dependencies: No additional work needed other than merging

Maintainer: @kyegomez

Twitter handle: @cmd_labs on X.com

Leaving below for reference...

Please make sure your PR is passing linting and testing before submitting. Run make format, make lint and make test to check this locally.

See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md

See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/kyegomez/swarms


📚 Documentation preview 📚: https://swarms--576.org.readthedocs.build/en/576/

…stream events to the AgentRearrange & Agent classes PLUS added an example of how to use it
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hello there, thank you for opening an PR ! 🙏🏻 The team was notified and they will get back to you asap.

@kyegomez kyegomez merged commit bb1e40c into kyegomez:master Aug 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants