fix: add missing await statements for async exit_stack handling by gjpower · Pull Request #1858 · abetlen/llama-cpp-python · GitHub
Skip to content

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

Merged
abetlen merged 1 commit into
abetlen: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 into
abetlen:mainfrom
gjpower:fix/add-missing-await-server-exit-stack

Conversation

@gjpower

@gjpower gjpower commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

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