Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: add missing await statements for async exit_stack handling #1858

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

Merged

Conversation

gjpower
Copy link
Contributor

@gjpower gjpower commented Dec 9, 2024

Fixes missing await statements from code merges before merge of PR #1798

Due to missing await statement create_chat_completion endpoint currently fails. This PR fixes this by adding the appropriate await.

It also changes 2 exit_stack.close() to the appropriate await exit_stack.aclose()

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

Successfully merging this pull request may close these issues.

2 participants