mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #20945] [MERGED] enh: prompts #48892
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/20945
Author: @tjbck
Created: 1/26/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @tjbck
Base:
dev← Head:prompt_versioning📝 Commits (10+)
db80dd2feat: prompt history table66daa15wip: prompt history models34773e7wip: prompt history backend integration0c79a56feat: prompt history frontend6ab7d54refac44da9c6refacdff0141refac5ad593erefac: prompt endpoints5510fa1refac8bf46dcrefac📊 Changes
12 files changed (+2235 additions, -185 deletions)
View changed files
➕
backend/open_webui/migrations/versions/374d2f66af06_add_prompt_history_table.py(+248 -0)➕
backend/open_webui/models/prompt_history.py(+223 -0)📝
backend/open_webui/models/prompts.py(+342 -21)📝
backend/open_webui/routers/prompts.py(+351 -21)📝
src/lib/apis/prompts/index.ts(+361 -11)📝
src/lib/components/chat/MessageInput/Commands/Prompts.svelte(+3 -3)📝
src/lib/components/common/Badge.svelte(+2 -2)📝
src/lib/components/workspace/Prompts.svelte(+34 -12)📝
src/lib/components/workspace/Prompts/PromptEditor.svelte(+560 -103)➕
src/lib/components/workspace/Prompts/PromptHistoryMenu.svelte(+83 -0)📝
src/routes/(app)/workspace/prompts/[id]/+page.svelte(+24 -10)📝
src/routes/(app)/workspace/prompts/create/+page.svelte(+4 -2)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.