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/10402
**Author:** [@labanzu](https://github.com/labanzu)
**Created:** 2/20/2025
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `style`
---
### 📝 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)
- [`cd5cb6e`](https://github.com/open-webui/open-webui/commit/cd5cb6e9afce4986a99d4a5d252cc3a8867b6d21) chore: style change for reasoning content
### 📊 Changes
**49 files changed** (+2077 additions, -164 deletions)
<details>
<summary>View changed files</summary>
📝 `.gitignore` (+1 -0)
📝 `Makefile` (+29 -25)
➕ `Makefile-bak` (+33 -0)
📝 `backend/open_webui/config.py` (+45 -44)
📝 `backend/open_webui/retrieval/utils.py` (+48 -1)
📝 `backend/open_webui/retrieval/vector/dbs/chroma.py` (+47 -46)
📝 `backend/open_webui/retrieval/web/utils.py` (+2 -2)
📝 `backend/open_webui/routers/openai.py` (+7 -2)
📝 `backend/open_webui/routers/retrieval.py` (+31 -29)
📝 `backend/open_webui/utils/middleware.py` (+8 -4)
➕ `deploy/backend/prod/Dockerfile` (+43 -0)
➕ `deploy/backend/prod/build.sh` (+26 -0)
➕ `deploy/backend/prod/entrypoint.sh` (+3 -0)
➕ `deploy/backend/prod/gpt-oi-rest.yaml` (+93 -0)
➕ `deploy/backend/services/docker-compose.yml` (+13 -0)
➕ `deploy/backend/services/gpt-oi-rest.service` (+14 -0)
➕ `deploy/backend/test/Dockerfile` (+45 -0)
➕ `deploy/backend/test/build.sh` (+27 -0)
➕ `deploy/backend/test/entrypoint.sh` (+3 -0)
➕ `deploy/backend/test/gpt-oi-rest.yaml` (+93 -0)
_...and 29 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10402
Author: @labanzu
Created: 2/20/2025
Status: ❌ Closed
Base:
main← Head:style📝 Commits (10+)
33976ccchore: by default not collapse thinking (#1)faa3601build: add p1 oss deploy config (#4)7bc8630feat: bypass retrival on get_sources_from_files (#2)fbd75c3chore: update configf6872a9chore: remove 'process embedding while uploading files' (#5)31bd3b0Merge remote-tracking branch 'upstream/main'8d2d5a0feat:enable full search & fix source_idx & beautify web_page content & prompt deafult response lang from en to zh (#6)46ad283build: remove docker image proxy (#7)e831332fix: request trust env to use proxy (#8)cd5cb6echore: style change for reasoning content📊 Changes
49 files changed (+2077 additions, -164 deletions)
View changed files
📝
.gitignore(+1 -0)📝
Makefile(+29 -25)➕
Makefile-bak(+33 -0)📝
backend/open_webui/config.py(+45 -44)📝
backend/open_webui/retrieval/utils.py(+48 -1)📝
backend/open_webui/retrieval/vector/dbs/chroma.py(+47 -46)📝
backend/open_webui/retrieval/web/utils.py(+2 -2)📝
backend/open_webui/routers/openai.py(+7 -2)📝
backend/open_webui/routers/retrieval.py(+31 -29)📝
backend/open_webui/utils/middleware.py(+8 -4)➕
deploy/backend/prod/Dockerfile(+43 -0)➕
deploy/backend/prod/build.sh(+26 -0)➕
deploy/backend/prod/entrypoint.sh(+3 -0)➕
deploy/backend/prod/gpt-oi-rest.yaml(+93 -0)➕
deploy/backend/services/docker-compose.yml(+13 -0)➕
deploy/backend/services/gpt-oi-rest.service(+14 -0)➕
deploy/backend/test/Dockerfile(+45 -0)➕
deploy/backend/test/build.sh(+27 -0)➕
deploy/backend/test/entrypoint.sh(+3 -0)➕
deploy/backend/test/gpt-oi-rest.yaml(+93 -0)...and 29 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:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.