mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #11655] [CLOSED] feat: add option BYPASS_WEB_SEARCH_RESULT_LINK_SCRAPE #38405
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/11655
Author: @williamgateszhao
Created: 3/14/2025
Status: ❌ Closed
Base:
dev← Head:BYPASS_WEB_SEARCH_RESULT_LINK_SCRAPE📝 Commits (2)
30104c6add option: BYPASS_WEB_SEARCH_RESULT_LINK_SCRAPE7bbe43bunit test📊 Changes
5 files changed (+170 additions, -7 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+4 -0)📝
backend/open_webui/routers/retrieval.py(+28 -7)➕
backend/open_webui/test/apps/webui/routers/test_retrieval.py(+115 -0)📝
src/lib/components/admin/Settings/WebSearch.svelte(+17 -0)📄 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
BYPASS_WEB_SEARCH_RESULT_LINK_SCRAPE, which is reflected in theweb searchpage underadmin/settings.Added
BYPASS_WEB_SEARCH_RESULT_LINK_SCRAPE. When enabled, use the search engine's snippet as page content, bypassing URL scraping.Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.