mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #19687] [CLOSED] Fix embedding model update #48358
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/19687
Author: @rcivek
Created: 12/2/2025
Status: ❌ Closed
Base:
dev← Head:fix-embedding-model-update📝 Commits (7)
fe6783cMerge pull request #19030 from open-webui/devfc05e0aMerge pull request #19405 from open-webui/deve3faec6Merge pull request #19416 from open-webui/dev9899293Merge pull request #19448 from open-webui/dev140605eMerge pull request #19462 from open-webui/dev71f3d13Fix: Use RAG_EMBEDDING_MODEL_AUTO_UPDATE when loading embedding modelcea0e6fMerge branch 'open-webui:main' into fix-embedding-model-update📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/routers/retrieval.py(+1 -0)📄 Description
Summary
Fixes the embedding model update logic by correctly passing the
auto_updateflag toget_model_path, ensuring embedding models update properly when the auto-update setting is enabled.Changes
RAG_EMBEDDING_MODEL_AUTO_UPDATEtoget_efandget_model_path.local_files_onlyreflects the actual auto-update setting.🧪 Testing Confirmation
✅ I confirm that:
🔍 How I tested:
RAG_EMBEDDING_MODEL_AUTO_UPDATE=True.get_model_pathcorrectly usedlocal_files_only=Falseand downloaded the model.local_files_only=True.No visual evidence required, as this change is backend-only and produces no UI output.
📜 Contributor License Agreement
Open WebUI Contributor License Agreement
By submitting my contributions to Open WebUI, I grant Open WebUI full freedom to use my work in any way they choose, under any terms they like, both now and in the future. This approach helps ensure the project remains unified, flexible, and easy to maintain, while empowering Open WebUI to respond quickly to the needs of its users and the wider community.
Taking part in this process means my work can be seamlessly integrated and combined with others, ensuring longevity and adaptability for everyone who benefits from the Open WebUI project. This collaborative approach strengthens the project’s future and helps guarantee that improvements can always be shared and distributed in the most effective way possible.
To the fullest extent permitted by law, my contributions are provided on an “as is” basis, with no warranties or guarantees of any kind, and I disclaim any liability for any issues or damages arising from their use or incorporation into the project, regardless of the type of legal claim.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.