mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[PR #7017] [CLOSED] fix: Remove print call that logs entire chat content #8794
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/7017
Author: @krishanbhasin-px
Created: 11/18/2024
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (2)
ca97037Remove print call that logs entire chat content1f054e0Update main.py📊 Changes
1 file changed (+0 additions, -3 deletions)
View changed files
📝
backend/open_webui/main.py(+0 -3)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
The Open WebUI logs print out the first chat exchanged between a user and the chatbot.
This is because there is a vanilla
print()call in the method that generates tags for chats.If users are using Open WebUI with proprietary information, this print statement means the chat content will end up in whatever log system they are using alongside Open WebUI.
Removed
Security
Additional Information
I'm happy to go through and remove/replace other
print()methods withlog.debugScreenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.