mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 08:22:09 -05:00
[GH-ISSUE #3680] Back-end error when uploading the same document twice in two conversations #13346
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 @leobenkel on GitHub (Jul 6, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3680
Bug Report
Description
Bug Summary:
Error are showing up in the log when the same document is uploaded twice.
Steps to Reproduce:
Expected Behavior:
Would identify that this document as already been vectorized and stored and reuse the cache. Maybe have a hash of (the doc content + modified date + name) as collection name ?
Actual Behavior:
It seems to be working, but i see errors in the back-end log.
Environment
all latest
firefox
Reproduction Details
Confirmation:
Logs and Screenshots
Docker Container Logs:
@tjbck commented on GitHub (Jul 6, 2024):
This is just for logging purposes! Everything should work as intended.
@leobenkel commented on GitHub (Jul 6, 2024):
ok, maybe not printing the stack trace would be nicer?
@tjbck commented on GitHub (Jul 6, 2024):
Feel free to make a PR!
@leobenkel commented on GitHub (Jul 6, 2024):
@tjbck done