mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #17110] [CLOSED] fix: fix docs parse from uploadWeb #24330
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/17110
Author: @ShirasawaSama
Created: 9/1/2025
Status: ❌ Closed
Base:
dev← Head:patch-11📝 Commits (1)
bda8df4fix: fix docs parse from uploadWeb📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/open_webui/retrieval/utils.py(+1 -1)📄 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
uploadWebfunction are of type‘doc’, but the backend does not perform any processing, resulting in the document content not being passed to the LLM. For example, documents loaded by adding the URL query parameterload-url=http://example.com/a.txtare not processed at all. Therefore, I treat documents with the type name‘doc’as‘text’documents for processing.https://github.com/open-webui/open-webui/blob/main/src/lib/components/chat/Chat.svelte#L674
https://github.com/open-webui/open-webui/blob/main/src/lib/components/chat/Chat.svelte#L703
Added
Changed
Deprecated
Removed
Fixed
uploadWebSecurity
Breaking Changes
Additional Information
Please note: I have only tested my modified code, and the
uploadWebfunction works correctly when passing a text document.I have not tested whether the
uploadYoutubeTranscriptionfunction or other scenarios function properly.I'd appreciate it if Tim @tjbck could test for other scenarios.
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.