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/4613
**Author:** [@raestrada95](https://github.com/raestrada95)
**Created:** 8/15/2024
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `devoriginal`
---
### 📝 Commits (10+)
- [`b2fc79a`](https://github.com/open-webui/open-webui/commit/b2fc79a83a236929d04eae5c33f75fc4293c3a50) Update Svelte and Vite to the latest versions.
- [`68dde7b`](https://github.com/open-webui/open-webui/commit/68dde7bc2d225eaeb4ab6f320cf4b7793eea748c) Merge pull request #1 from raestrada95/update-svelte-vite
- [`c63b1e8`](https://github.com/open-webui/open-webui/commit/c63b1e880a8214a59e3227f4ae6f81710e85fa23) Update Svelte, Adapter Auto, Node, and Static to the latest versions.
- [`2830853`](https://github.com/open-webui/open-webui/commit/2830853a855ff516951ec6f0aa2b93921582795f) Merge pull request #2 from raestrada95/update-svelte-adapter-auto
- [`3a0f69d`](https://github.com/open-webui/open-webui/commit/3a0f69d1d371e06ed1c7d6e8416c624d6fd44aeb) Install adapter-cloudflare dependency for Svelte
- [`93de2ee`](https://github.com/open-webui/open-webui/commit/93de2eec5da2371f56475fcbf9ad10c29392a9e7) Add cfdeploy script to package.json for Cloudflare Pages deployment
- [`30912a4`](https://github.com/open-webui/open-webui/commit/30912a4343b0502d3d98207aa7be37d20cd1674e) change the svelte adapter to cf
- [`40ca3c0`](https://github.com/open-webui/open-webui/commit/40ca3c0d9f9289797b645cb797ef65634c3bb1b5) add cf wrangler config file
- [`5f71eac`](https://github.com/open-webui/open-webui/commit/5f71eacb853350330997b209dc598de9b3bd5d28) Remove Pyodide from the project
- [`51238ec`](https://github.com/open-webui/open-webui/commit/51238ec6fec5049352f2a3734a659df1017c9507) Modify Dockerfile to dockerize only the backend
### 📊 Changes
**65 files changed** (+8358 additions, -6779 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/deploy-to-hf-spaces.yml` (+1 -1)
📝 `Dockerfile` (+10 -25)
📝 `backend/apps/rag/main.py` (+25 -0)
📝 `backend/config.py` (+14 -2)
➕ `docker-compose-cloud.yaml` (+27 -0)
📝 `docker-compose.yaml` (+7 -14)
📝 `package-lock.json` (+7754 -6347)
📝 `package.json` (+10 -8)
➖ `scripts/prepare-pyodide.js` (+0 -85)
📝 `src/app.html` (+2 -2)
📝 `src/lib/apis/rag/index.ts` (+29 -0)
📝 `src/lib/components/admin/Settings/Documents.svelte` (+37 -0)
📝 `src/lib/components/chat/MessageInput.svelte` (+108 -61)
📝 `src/lib/components/chat/Messages/CodeBlock.svelte` (+41 -163)
📝 `src/lib/components/chat/Settings/About.svelte` (+0 -34)
📝 `src/lib/components/chat/Settings/General.svelte` (+0 -12)
📝 `src/lib/components/workspace/Documents.svelte` (+27 -8)
📝 `src/lib/constants.ts` (+2 -2)
📝 `src/lib/i18n/locales/ar-BH/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/bg-BG/translation.json` (+6 -0)
_...and 45 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/4613
Author: @raestrada95
Created: 8/15/2024
Status: ❌ Closed
Base:
main← Head:devoriginal📝 Commits (10+)
b2fc79aUpdate Svelte and Vite to the latest versions.68dde7bMerge pull request #1 from raestrada95/update-svelte-vitec63b1e8Update Svelte, Adapter Auto, Node, and Static to the latest versions.2830853Merge pull request #2 from raestrada95/update-svelte-adapter-auto3a0f69dInstall adapter-cloudflare dependency for Svelte93de2eeAdd cfdeploy script to package.json for Cloudflare Pages deployment30912a4change the svelte adapter to cf40ca3c0add cf wrangler config file5f71eacRemove Pyodide from the project51238ecModify Dockerfile to dockerize only the backend📊 Changes
65 files changed (+8358 additions, -6779 deletions)
View changed files
📝
.github/workflows/deploy-to-hf-spaces.yml(+1 -1)📝
Dockerfile(+10 -25)📝
backend/apps/rag/main.py(+25 -0)📝
backend/config.py(+14 -2)➕
docker-compose-cloud.yaml(+27 -0)📝
docker-compose.yaml(+7 -14)📝
package-lock.json(+7754 -6347)📝
package.json(+10 -8)➖
scripts/prepare-pyodide.js(+0 -85)📝
src/app.html(+2 -2)📝
src/lib/apis/rag/index.ts(+29 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+37 -0)📝
src/lib/components/chat/MessageInput.svelte(+108 -61)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+41 -163)📝
src/lib/components/chat/Settings/About.svelte(+0 -34)📝
src/lib/components/chat/Settings/General.svelte(+0 -12)📝
src/lib/components/workspace/Documents.svelte(+27 -8)📝
src/lib/constants.ts(+2 -2)📝
src/lib/i18n/locales/ar-BH/translation.json(+6 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+6 -0)...and 45 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.