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
[#3390] Add Always-On Web Search Setting in User Settings
Added "Always-On Web Search" option under User → Settings → Interface
On: Web search is enabled by default.
Off: Web search is disabled by default.
Changed
src/lib/components/chat/Chat.svelte
Updated webSearchEnabled to follow $settings?.alwaysOnWebSearch (default: false).
src/lib/components/chat/Settings/Interface.svelte
Added the new setting option.
src/lib/components/chat/SettingsModal.svelte
Integrated the new setting into the settings modal.
translation.json
Added corresponding translations for the new setting.
Additional Information
[Insert any additional context, notes, or explanations for the changes]
[Reference any related issues, commits, or other relevant information]
🔄 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/9370
**Author:** [@hurxxxx](https://github.com/hurxxxx)
**Created:** 2/5/2025
**Status:** ✅ Merged
**Merged:** 2/5/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `feat/always-web-search`
---
### 📝 Commits (4)
- [`af979ce`](https://github.com/open-webui/open-webui/commit/af979ce49afad97c9188dcffeee3dcbd4d731772) feat: Add user setting for "Always Enable Search"
- [`857b3f0`](https://github.com/open-webui/open-webui/commit/857b3f0da8e3cd9944bc62eae2449f1276ac7d9e) Merge remote-tracking branch 'upstream/dev' into feat/rag-status
- [`8e0c0b4`](https://github.com/open-webui/open-webui/commit/8e0c0b4ae3857ed1ddd66f45b52f787b759cbd51) fix : Infinite loading issue occurs.
- [`0e3c1ac`](https://github.com/open-webui/open-webui/commit/0e3c1ac39281e0378774a5552dc238a75e0770d8) Merge remote-tracking branch 'upstream/dev' into feat/always-web-search
### 📊 Changes
**52 files changed** (+83 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/components/chat/Chat.svelte` (+3 -3)
📝 `src/lib/components/chat/Settings/Interface.svelte` (+29 -0)
📝 `src/lib/components/chat/SettingsModal.svelte` (+2 -1)
📝 `src/lib/i18n/locales/ar-BH/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/bg-BG/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/bn-BD/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/ca-ES/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/ceb-PH/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/cs-CZ/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/da-DK/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/de-DE/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/dg-DG/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/el-GR/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/en-GB/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/en-US/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/es-ES/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/eu-ES/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/fa-IR/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/fi-FI/translation.json` (+1 -0)
📝 `src/lib/i18n/locales/fr-CA/translation.json` (+1 -0)
_...and 32 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:**
- [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?
- [ ] **Testing:** Have you written and run sufficient tests for validating 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 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
### **[#3390] Add Always-On Web Search Setting in User Settings**
- Added **"Always-On Web Search"** option under **User → Settings → Interface**
- **On**: Web search is enabled by default.
- **Off**: Web search is disabled by default.
### Changed
- `src/lib/components/chat/Chat.svelte`
- Updated `webSearchEnabled` to follow `$settings?.alwaysOnWebSearch` (default: `false`).
- `src/lib/components/chat/Settings/Interface.svelte`
- Added the new setting option.
- `src/lib/components/chat/SettingsModal.svelte`
- Integrated the new setting into the settings modal.
- `translation.json`
- Added corresponding translations for the new setting.
---
### Additional Information
- [Insert any additional context, notes, or explanations for the changes]
- [Reference any related issues, commits, or other relevant information]
### Screenshots or Videos
[406667769-aecfd5d5-4966-4bb8-85c1-66abace19589.webm](https://github.com/user-attachments/assets/1cdc089d-76e9-401b-9bc5-cb69b50f7e91)
---
<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/9370
Author: @hurxxxx
Created: 2/5/2025
Status: ✅ Merged
Merged: 2/5/2025
Merged by: @tjbck
Base:
dev← Head:feat/always-web-search📝 Commits (4)
af979cefeat: Add user setting for "Always Enable Search"857b3f0Merge remote-tracking branch 'upstream/dev' into feat/rag-status8e0c0b4fix : Infinite loading issue occurs.0e3c1acMerge remote-tracking branch 'upstream/dev' into feat/always-web-search📊 Changes
52 files changed (+83 additions, -4 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+3 -3)📝
src/lib/components/chat/Settings/Interface.svelte(+29 -0)📝
src/lib/components/chat/SettingsModal.svelte(+2 -1)📝
src/lib/i18n/locales/ar-BH/translation.json(+1 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+1 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+1 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+1 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+1 -0)📝
src/lib/i18n/locales/cs-CZ/translation.json(+1 -0)📝
src/lib/i18n/locales/da-DK/translation.json(+1 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+1 -0)📝
src/lib/i18n/locales/dg-DG/translation.json(+1 -0)📝
src/lib/i18n/locales/el-GR/translation.json(+1 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+1 -0)📝
src/lib/i18n/locales/en-US/translation.json(+1 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+1 -0)📝
src/lib/i18n/locales/eu-ES/translation.json(+1 -0)📝
src/lib/i18n/locales/fa-IR/translation.json(+1 -0)📝
src/lib/i18n/locales/fi-FI/translation.json(+1 -0)📝
src/lib/i18n/locales/fr-CA/translation.json(+1 -0)...and 32 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
[#3390] Add Always-On Web Search Setting in User Settings
Changed
src/lib/components/chat/Chat.sveltewebSearchEnabledto follow$settings?.alwaysOnWebSearch(default:false).src/lib/components/chat/Settings/Interface.sveltesrc/lib/components/chat/SettingsModal.sveltetranslation.jsonAdditional Information
Screenshots or Videos
406667769-aecfd5d5-4966-4bb8-85c1-66abace19589.webm
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.