Skip to content

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

Merged
abetlen merged 1 commit intoabetlen:mainfrom
gjpower:fix/add-missing-await-server-exit-stack
Dec 9, 2024
Merged

fix: add missing await statements for async exit_stack handling#1858
abetlen merged 1 commit intoabetlen:mainfrom
gjpower:fix/add-missing-await-server-exit-stack

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()

@abetlen abetlen merged commit afedfc8 into abetlen:main Dec 9, 2024
14 checks passed
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