[PR #19710] [CLOSED] FIX: Update Langchain libs imports #96363

Closed
opened 2026-05-15 22:36:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/19710
Author: @rgaricano
Created: 12/3/2025
Status: Closed

Base: devHead: dev-Fix_langchain_libs_imports


📝 Commits (2)

  • 6671eac Fix_langchain_libs_imports in retrieval.py
  • 14171e8 Fix_langchain_libs_imports in retrieval utils.py

📊 Changes

2 files changed (+2 additions, -5 deletions)

View changed files

📝 backend/open_webui/retrieval/utils.py (+1 -1)
📝 backend/open_webui/routers/retrieval.py (+1 -4)

📄 Description

FIX LangChain libs imports to fit with last langchain package releases > v1.0.0.

Changed langchain splitters & retrievers imports, that prevent errors on start as mentioned in issue https://github.com/open-webui/open-webui/issues/19709


Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 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/19710 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 12/3/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev-Fix_langchain_libs_imports` --- ### 📝 Commits (2) - [`6671eac`](https://github.com/open-webui/open-webui/commit/6671eacef0530f3d3a604e7cf7cab213addff8f2) Fix_langchain_libs_imports in retrieval.py - [`14171e8`](https://github.com/open-webui/open-webui/commit/14171e850febbb24832b2a973f73bc3f1b9a9b08) Fix_langchain_libs_imports in retrieval utils.py ### 📊 Changes **2 files changed** (+2 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/retrieval/utils.py` (+1 -1) 📝 `backend/open_webui/routers/retrieval.py` (+1 -4) </details> ### 📄 Description ### FIX LangChain libs imports to fit with last langchain package releases > v1.0.0. Changed langchain splitters & retrievers imports, that prevent errors on start as mentioned in issue https://github.com/open-webui/open-webui/issues/19709 -------- ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <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-05-15 22:36:45 -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#96363