[PR #10867] [CLOSED] perf: parallel query #61465

Closed
opened 2026-05-06 05:00:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10867
Author: @leantli
Created: 2/27/2025
Status: Closed

Base: mainHead: feat/parallel_query


📝 Commits (10+)

  • 33976cc chore: by default not collapse thinking (#1)
  • faa3601 build: add p1 oss deploy config (#4)
  • 7bc8630 feat: bypass retrival on get_sources_from_files (#2)
  • fbd75c3 chore: update config
  • f6872a9 chore: remove 'process embedding while uploading files' (#5)
  • 31bd3b0 Merge remote-tracking branch 'upstream/main'
  • 8d2d5a0 feat:enable full search & fix source_idx & beautify web_page content & prompt deafult response lang from en to zh (#6)
  • 46ad283 build: remove docker image proxy (#7)
  • e831332 fix: request trust env to use proxy (#8)
  • d376219 fix: search error due to timeout (#10)

📊 Changes

148 files changed (+269514 additions, -2343 deletions)

View changed files

📝 .github/workflows/release-pypi.yml (+1 -1)
📝 .gitignore (+1 -0)
📝 CHANGELOG.md (+25 -0)
📝 Makefile (+29 -25)
Makefile-bak (+33 -0)
📝 backend/open_webui/config.py (+142 -46)
📝 backend/open_webui/internal/db.py (+4 -2)
📝 backend/open_webui/main.py (+23 -1)
📝 backend/open_webui/retrieval/utils.py (+141 -27)
📝 backend/open_webui/retrieval/vector/dbs/chroma.py (+47 -46)
📝 backend/open_webui/retrieval/vector/dbs/pgvector.py (+13 -11)
backend/open_webui/retrieval/web/tavily_exa.py (+72 -0)
📝 backend/open_webui/retrieval/web/utils.py (+416 -52)
📝 backend/open_webui/routers/audio.py (+13 -3)
📝 backend/open_webui/routers/auths.py (+2 -1)
📝 backend/open_webui/routers/configs.py (+12 -0)
📝 backend/open_webui/routers/files.py (+16 -9)
📝 backend/open_webui/routers/images.py (+64 -0)
📝 backend/open_webui/routers/ollama.py (+15 -2)
📝 backend/open_webui/routers/openai.py (+10 -4)

...and 80 more files

📄 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 for validating 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 cleary categorize this pull request, prefix the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

  • [Concisely describe the changes made in this pull request, including any relevant motivation and impact (e.g., fixing a bug, adding a feature, or improving performance)]

Added

  • [List any new features, functionalities, or additions]

Changed

  • [List any changes, updates, refactorings, or optimizations]

Deprecated

  • [List any deprecated functionality or features that have been removed]

Removed

  • [List any removed features, files, or functionalities]

Fixed

  • [List any fixes, corrections, or bug fixes]

Security

  • [List any new or updated security-related changes, including vulnerability fixes]

Breaking Changes

  • BREAKING CHANGE: [List any breaking changes affecting compatibility or functionality]

Additional Information

  • [Insert any additional context, notes, or explanations for the changes]
    • [Reference any related issues, commits, or other relevant information]

Screenshots or Videos

  • [Attach any relevant screenshots or videos demonstrating the changes]

🔄 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/10867 **Author:** [@leantli](https://github.com/leantli) **Created:** 2/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/parallel_query` --- ### 📝 Commits (10+) - [`33976cc`](https://github.com/open-webui/open-webui/commit/33976cca8d04d09aad48ef0c4c4b9660830260fc) chore: by default not collapse thinking (#1) - [`faa3601`](https://github.com/open-webui/open-webui/commit/faa3601ed2a15dd9304967d5fc1a35707b731026) build: add p1 oss deploy config (#4) - [`7bc8630`](https://github.com/open-webui/open-webui/commit/7bc863075b62b297c37661b2651c94f84b27877d) feat: bypass retrival on get_sources_from_files (#2) - [`fbd75c3`](https://github.com/open-webui/open-webui/commit/fbd75c348c84e56ec7ffe704111424dac6b862f3) chore: update config - [`f6872a9`](https://github.com/open-webui/open-webui/commit/f6872a98b50f80c836ce8d74722dc7920ef76678) chore: remove 'process embedding while uploading files' (#5) - [`31bd3b0`](https://github.com/open-webui/open-webui/commit/31bd3b03662bfa2e11ace27e0994883dc7949b15) Merge remote-tracking branch 'upstream/main' - [`8d2d5a0`](https://github.com/open-webui/open-webui/commit/8d2d5a0004542162b34e735c33334be0167428d1) feat:enable full search & fix source_idx & beautify web_page content & prompt deafult response lang from en to zh (#6) - [`46ad283`](https://github.com/open-webui/open-webui/commit/46ad283202f25b0d0a07ff625c4b9f9f9d6d2a47) build: remove docker image proxy (#7) - [`e831332`](https://github.com/open-webui/open-webui/commit/e8313323f734c1f2fdd848697b4af95ae81963bc) fix: request trust env to use proxy (#8) - [`d376219`](https://github.com/open-webui/open-webui/commit/d37621908a3bfacd11e21cdadae11dcb5ca01db4) fix: search error due to timeout (#10) ### 📊 Changes **148 files changed** (+269514 additions, -2343 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release-pypi.yml` (+1 -1) 📝 `.gitignore` (+1 -0) 📝 `CHANGELOG.md` (+25 -0) 📝 `Makefile` (+29 -25) ➕ `Makefile-bak` (+33 -0) 📝 `backend/open_webui/config.py` (+142 -46) 📝 `backend/open_webui/internal/db.py` (+4 -2) 📝 `backend/open_webui/main.py` (+23 -1) 📝 `backend/open_webui/retrieval/utils.py` (+141 -27) 📝 `backend/open_webui/retrieval/vector/dbs/chroma.py` (+47 -46) 📝 `backend/open_webui/retrieval/vector/dbs/pgvector.py` (+13 -11) ➕ `backend/open_webui/retrieval/web/tavily_exa.py` (+72 -0) 📝 `backend/open_webui/retrieval/web/utils.py` (+416 -52) 📝 `backend/open_webui/routers/audio.py` (+13 -3) 📝 `backend/open_webui/routers/auths.py` (+2 -1) 📝 `backend/open_webui/routers/configs.py` (+12 -0) 📝 `backend/open_webui/routers/files.py` (+16 -9) 📝 `backend/open_webui/routers/images.py` (+64 -0) 📝 `backend/open_webui/routers/ollama.py` (+15 -2) 📝 `backend/open_webui/routers/openai.py` (+10 -4) _...and 80 more files_ </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:** - [ ] **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](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? - [ ] **Testing:** Have you written and run sufficient tests for validating 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 cleary categorize this pull request, prefix the pull request title, using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description - [Concisely describe the changes made in this pull request, including any relevant motivation and impact (e.g., fixing a bug, adding a feature, or improving performance)] ### Added - [List any new features, functionalities, or additions] ### Changed - [List any changes, updates, refactorings, or optimizations] ### Deprecated - [List any deprecated functionality or features that have been removed] ### Removed - [List any removed features, files, or functionalities] ### Fixed - [List any fixes, corrections, or bug fixes] ### Security - [List any new or updated security-related changes, including vulnerability fixes] ### Breaking Changes - **BREAKING CHANGE**: [List any breaking changes affecting compatibility or functionality] --- ### Additional Information - [Insert any additional context, notes, or explanations for the changes] - [Reference any related issues, commits, or other relevant information] ### Screenshots or Videos - [Attach any relevant screenshots or videos demonstrating the changes] --- <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-06 05:00:05 -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#61465