[PR #21522] [CLOSED] fix: make Brave web search failures clearer and safer #41749

Closed
opened 2026-04-25 13:54:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/21522
Author: @Plutarch01
Created: 2/17/2026
Status: Closed

Base: mainHead: fix/brave-web-search-resilience


📝 Commits (1)

  • 147f988 fix: improve brave web search failure handling

📊 Changes

2 files changed (+25 additions, -1 deletions)

View changed files

📝 backend/open_webui/routers/retrieval.py (+9 -0)
📝 backend/open_webui/utils/middleware.py (+16 -1)

📄 Description

Summary

  • default Brave web-search query fan-out to sequential execution when web search concurrency is left unset/unlimited, reducing free-tier 429 bursts from generated multi-query searches
  • preserve explicit admin concurrency settings and only apply the fallback for Brave
  • include concrete web-search error details in status events and inject a transparency hint into system context so the model does not fabricate vague 'technical difficulties' claims

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/21522 **Author:** [@Plutarch01](https://github.com/Plutarch01) **Created:** 2/17/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/brave-web-search-resilience` --- ### 📝 Commits (1) - [`147f988`](https://github.com/open-webui/open-webui/commit/147f9886da49e3b5016c45849f8cb357abcd2172) fix: improve brave web search failure handling ### 📊 Changes **2 files changed** (+25 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/retrieval.py` (+9 -0) 📝 `backend/open_webui/utils/middleware.py` (+16 -1) </details> ### 📄 Description ## Summary - default Brave web-search query fan-out to sequential execution when web search concurrency is left unset/unlimited, reducing free-tier 429 bursts from generated multi-query searches - preserve explicit admin concurrency settings and only apply the fallback for Brave - include concrete web-search error details in status events and inject a transparency hint into system context so the model does not fabricate vague 'technical difficulties' claims --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 13:54:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#41749