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

Keep a reference to asyncio tasks in astream_chat() #17812

Conversation

andrewisplinghoff
Copy link
Contributor

Description

Fixes #17801

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Your pull-request will likely not be merged unless it is covered by some form of impactful unit testing.

  • I added new unit tests to cover this change

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 13, 2025
@logan-markewich
Copy link
Collaborator

This makes sense to me, but i feel like there's other places this is needed. I'll take a look in the morning

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 14, 2025
@logan-markewich
Copy link
Collaborator

Funny enough, the failing tests here are unrelated

@logan-markewich logan-markewich merged commit c1b7031 into run-llama:main Feb 14, 2025
7 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Asyncio task created without holding a reference to it in astream_chat()
2 participants