[PR #3033] [MERGED] Fixed the issue where a single URL error disrupts the Web Search #7963

Closed
opened 2025-11-11 17:41:21 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/3033
Author: @que-nguyen
Created: 6/11/2024
Status: Merged
Merged: 6/11/2024
Merged by: @tjbck

Base: devHead: dev


📝 Commits (1)

  • 3bec60b Fixed the issue where a single URL error disrupts the data loading process in Web Search mode

📊 Changes

1 file changed (+26 additions, -3 deletions)

View changed files

📝 backend/apps/rag/main.py (+26 -3)

📄 Description

To address the unresolved issue in the LangChain library where a single URL error disrupts the data loading process, the lazy_load method in the WebBaseLoader class has been modified. The enhanced method now handles exceptions appropriately, logging errors and continuing with the remaining URLs.

fixed-bug


🔄 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/3033 **Author:** [@que-nguyen](https://github.com/que-nguyen) **Created:** 6/11/2024 **Status:** ✅ Merged **Merged:** 6/11/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`3bec60b`](https://github.com/open-webui/open-webui/commit/3bec60b80c58d573a886d9b3d33a40b0dec22e69) Fixed the issue where a single URL error disrupts the data loading process in Web Search mode ### 📊 Changes **1 file changed** (+26 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/rag/main.py` (+26 -3) </details> ### 📄 Description To address the unresolved issue in the LangChain library where a single URL error disrupts the data loading process, the lazy_load method in the WebBaseLoader class has been modified. The enhanced method now handles exceptions appropriately, logging errors and continuing with the remaining URLs. ![fixed-bug](https://github.com/open-webui/open-webui/assets/2045117/836d0083-762f-4374-b792-36498932ad11) --- <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 2025-11-11 17:41:21 -06: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#7963