mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #3195] bug: Body of chat and title API requests are being logged. #132896
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theasp on GitHub (Jun 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3195
Bug Report
Description
Bug Summary:
The body of chat API requests is now being logged. This probably shouldn't happen by default. The title endpoint is also affected. See output below.
It looks like this was introduced here:
88d053833dSteps to Reproduce:
Expected Behavior:
It shouldn't log request bodies by default.
Actual Behavior:
Request bodies logged.
Environment
Open WebUI Version: 0.3.4
Ollama (if applicable): N/A
Operating System: Ubuntu 22.04
Browser (if applicable): Chrome
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
N/A
Docker Container Logs:
Screenshots (if applicable):
N/A
Installation Method
Docker
Additional Information
N/A
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@theasp commented on GitHub (Jun 15, 2024):
I think these prints should be removed or converted into
log.debug():