text-generation-inference
text-generation-inference copied to clipboard
Enhance AsyncClient for Flexible Session Management in Text Generation Client
Updates the AsyncClient to efficiently manage sessions for both direct await usage and within async with blocks, improving flexibility for various async operation scenarios.
Before submitting
- [x] Did you read the contributor guideline, Pull Request section?
- [x] Was this discussed/approved via a Github issue or the forum? Please add a link to it if that's the case.
- [x] Did you make sure to update the documentation with your changes? Here are the documentation guidelines, and here are tips on formatting docstrings.
- [x] Did you write any new necessary tests?
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR.
Seems the tests are not passing though.