mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[PR #8748] [CLOSED] refactor: making DEFAULT_PROMPT_SUGGESTIONS env var #37913
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8748
Author: @tim-roethig
Created: 1/22/2025
Status: ❌ Closed
Base:
dev← Head:make-DEFAULT_PROMPT_SUGGESTIONS-env-var📝 Commits (9)
2faa819eagr9a99456Merge branch 'dev' of https://github.com/tim-roethig-db/open-webui into dev56c1340Merge branch 'open-webui:dev' into dev459bf19Merge branch 'open-webui:dev' into devad56216Merge branch 'open-webui:dev' into dev4fe0b25Merge branch 'open-webui:dev' into dev773fefcmaking DEFAULT_PROMPT_SUGGESTIONS env varb54f7earefactor: update PromptSuggestionModel to use Tuple for title and improve error logging587e546revert gitignore📊 Changes
1 file changed (+50 additions, -75 deletions)
View changed files
📝
backend/open_webui/config.py(+50 -75)📄 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
This PR adds the possibility to configure DEFAULT_PROMPT_SUGGESTIONS via an env var of the same name analog to WEBUI_BANNERS. Previously this was only possible via the settings menu.
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
DEFAULT_PROMPT_SUGGESTIONSlistofdictPersistentConfigvariable.:::info
When setting this environment variable in a
.envfile, make sure to escape the quotes by wrapping the entire value in double quotes and using escaped quotes (\") for the inner quotes. Example: