[PR #14957] [MERGED] Fix: postgresql null value search #10458

Closed
opened 2025-11-11 19:05:20 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/14957
Author: @Classic298
Created: 6/13/2025
Status: Merged
Merged: 7/3/2025
Merged by: @tjbck

Base: devHead: fix-postgresql-null-value-search


📝 Commits (4)

  • e50cde8 Fix search unicode error (#11)
  • 033e5c1 Update chats.py
  • b5f4c85 Merge pull request #15014 from open-webui/dev
  • c665768 Merge branch 'open-webui:main' into fix-postgresql-null-value-search

📊 Changes

1 file changed (+30 additions, -29 deletions)

View changed files

📝 backend/open_webui/models/chats.py (+30 -29)

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests to validate the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
    • fix: Bug fix or error correction

Changelog Entry

Description

Fixes: https://github.com/open-webui/open-webui/discussions/9318

Changed

  • Replaces null values \u0000 so that no errors happen during chat search with PostgreSQL databases

Fixed

  • Fixed the search

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.


🔄 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/14957 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 6/13/2025 **Status:** ✅ Merged **Merged:** 7/3/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix-postgresql-null-value-search` --- ### 📝 Commits (4) - [`e50cde8`](https://github.com/open-webui/open-webui/commit/e50cde80f3e49a7f2e1f86b05d19e61eddc629eb) Fix search unicode error (#11) - [`033e5c1`](https://github.com/open-webui/open-webui/commit/033e5c1e002626ce20eb562147b323b6fbed33c5) Update chats.py - [`b5f4c85`](https://github.com/open-webui/open-webui/commit/b5f4c85bb196c16a775802907aedd87366f58b0f) Merge pull request #15014 from open-webui/dev - [`c665768`](https://github.com/open-webui/open-webui/commit/c66576805b0d06a036a0787af552ce8ba11490e7) Merge branch 'open-webui:main' into fix-postgresql-null-value-search ### 📊 Changes **1 file changed** (+30 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/models/chats.py` (+30 -29) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [X] **Target branch:** Please verify that the pull request targets the `dev` branch. - [X] **Description:** Provide a concise description of the changes made in this pull request. - [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [X] **Testing:** Have you written and run sufficient tests to validate the changes? - [X] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [X] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following: - **fix**: Bug fix or error correction # Changelog Entry ### Description Fixes: https://github.com/open-webui/open-webui/discussions/9318 ### Changed - Replaces null values \u0000 so that no errors happen during chat search with PostgreSQL databases ### Fixed - Fixed the search --- ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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 19:05:20 -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#10458