Merge pull request #1370 from lainedfles/logging-improvements

Improve logging.
This commit is contained in:
Timothy Jaeryang Baek 2024-03-31 13:46:37 -07:00 committed by GitHub
commit 587a8c5992
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 16 deletions

View file

@ -272,7 +272,7 @@ async def pull_model(
if request_id in REQUEST_POOL:
yield chunk
else:
print("User: canceled request")
log.warning("User: canceled request")
break
finally:
if hasattr(r, "close"):