mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #15963] [CLOSED] feat: populate default prompt templates #47045
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/15963
Author: @adrianad
Created: 7/23/2025
Status: ❌ Closed
Base:
dev← Head:fix/populate-default-prompt-templates📝 Commits (3)
424ad64fix: populate empty prompt templates with default values in admin interface5a84735minor cleanupc517d82minor cleanup📊 Changes
2 files changed (+48 additions, -0 deletions)
View changed files
📝
backend/open_webui/routers/tasks.py(+17 -0)📝
src/lib/components/admin/Settings/Interface.svelte(+31 -0)📄 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
I wanted to add a /no_think to the title prompt for my local Qwen model, ended up having to look through the codebase to find the original prompt. Prompts now get prefilled in the Admin settings with the default prompt, or whatever you put in there.
Changed
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.