forked from open-webui/open-webui
Improve logging. Move print()
statements to appropiate log()
.
Add COMFYUI and WEBHOOK logging and associated environment variable control. Add WEBHOOK payload & request debug logs.
This commit is contained in:
parent
1d7ca44017
commit
144c9059a3
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