mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #10548] [CLOSED] fix: clicking Save in Web Search settings now does not reset RAG_WEB_SEARCH_TRUST_ENV to false
#38185
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/10548
Author: @harryzhou2000
Created: 2/21/2025
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (1)
96c304afixed: clicking save in Web Search settings won't reset RAG_WEB_SEARCH_TRUST_ENV📊 Changes
1 file changed (+0 additions, -3 deletions)
View changed files
📝
backend/open_webui/routers/retrieval.py(+0 -3)📄 Description
RAG_WEB_SEARCH_TRUST_ENV was always reset to false by saving in
Web SearchAdmin settings, regardless the environment variable. This is now fixed.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
Fixed
RAG_WEB_SEARCH_TRUST_ENV was always reset to false by saving in Web Search Admin settings, regardless the environment variable. This is now fixed by removing code triggered by
Savethat always setsrequest.app.state.config.RAG_WEB_SEARCH_TRUST_ENVtoNone.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.