mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #7720] Autocomplete passes full conversation to log #14862
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 @c-hoffmann on GitHub (Dec 9, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7720
Originally assigned to: @tjbck on GitHub.
Installation Method
pip
Environment
Open WebUI Version: v0.4.7
Ollama (if applicable): n/a
Operating System: Server: RHEL9; Client: Win11
Browser: Firefox 133.0
Confirmation:
Expected Behavior:
I expect sensitive information to not be passed to the log files if logging-level exceeds DEBUG. This includes not logging sensitive information when doing an auto-complete for prompts.
Actual Behavior:
Sensitive information is logged for auto-completion of prompts.
Description
Bug Summary:
Sensitive information is logged for auto-completion of prompts even though that should not be the case.
Reproduction Details
Steps to Reproduce:
Make sure to save the output-log of the running open-webui instance. Type something (e.g. "wer" for example below) in the prompt text-field with auto-completion activated and wait until auto-completion generates a suggestion.
If you try this for ongoing conversations, you will see a lot more details about the conversation being logged / shown.
Logs and Screenshots
Console Logs:
Additional Information
No environment-variables for logging have been explicitly set via
.env. But I see the same result if everyLOG_LEVELwas set to "INFO" explicitly.@tjbck commented on GitHub (Dec 10, 2024):
Good catch, fixed on dev!