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
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"):