[PR #12896] [MERGED] fix: Optional content from files routes #38677

Closed
opened 2026-04-25 11:35:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12896
Author: @gaby
Created: 4/15/2025
Status: Merged
Merged: 4/15/2025
Merged by: @tjbck

Base: devHead: fix-12893


📝 Commits (2)

  • b1ef538 Check if content is present before removing
  • b4d0d84 Fix formatting of qdrant.py

📊 Changes

2 files changed (+7 additions, -3 deletions)

View changed files

📝 backend/open_webui/retrieval/vector/dbs/qdrant.py (+3 -1)
📝 backend/open_webui/routers/files.py (+4 -2)

📄 Description

Description

  • Check if "content" is present in File.data before removing key.

Fixes #12893


🔄 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/12896 **Author:** [@gaby](https://github.com/gaby) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 4/15/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix-12893` --- ### 📝 Commits (2) - [`b1ef538`](https://github.com/open-webui/open-webui/commit/b1ef53873fa3adccd0a5a1b68e5b638316e40248) Check if content is present before removing - [`b4d0d84`](https://github.com/open-webui/open-webui/commit/b4d0d840d1ae14b168fb085993f68d7def07f55f) Fix formatting of qdrant.py ### 📊 Changes **2 files changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/retrieval/vector/dbs/qdrant.py` (+3 -1) 📝 `backend/open_webui/routers/files.py` (+4 -2) </details> ### 📄 Description ### Description - Check if "content" is present in `File.data` before removing key. Fixes #12893 --- <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 11:35:01 -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#38677