forked from open-webui/open-webui
Merge pull request #1370 from lainedfles/logging-improvements
Improve logging.
This commit is contained in:
commit
587a8c5992
6 changed files with 31 additions and 16 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue