mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #9978] [CLOSED] feat: websearch support async docs load and proxy #22443
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/9978
Author: @Yimi81
Created: 2/14/2025
Status: ❌ Closed
Base:
dev← Head:feat-fix-web-load📝 Commits (3)
96ebfbbsupport docs async load, accelerate web search, and WebBaseLoader supports proxy.c8137fdrm file163ebderm noneed file📊 Changes
5 files changed (+129 additions, -21 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/retrieval/web/utils.py(+91 -2)📝
backend/open_webui/routers/retrieval.py(+21 -4)📝
backend/open_webui/utils/middleware.py(+9 -15)📄 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
@tjbck #7206 ,The issue reflects that the current websearch loads web content very slowly, due to the use of synchronous loading. This PR mainly makes the following changes:
Note: The changes to SafeWebBaseLoader are mainly derived from the latest version of WebBaseLoader in langchain_community. If langchain and langchain_community are upgraded in the future, this modification can be omitted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.