[PR #20945] [MERGED] enh: prompts #25844

Closed
opened 2026-04-20 06:09:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: prompt_versioning


📝 Commits (10+)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/20945 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 1/26/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `prompt_versioning` --- ### 📝 Commits (10+) - [`db80dd2`](https://github.com/open-webui/open-webui/commit/db80dd2692f0af3ce0351df7d1ab3112a75592cd) feat: prompt history table - [`66daa15`](https://github.com/open-webui/open-webui/commit/66daa1572205f0d7765ac5b2e5d0dfe59bbebb34) wip: prompt history models - [`34773e7`](https://github.com/open-webui/open-webui/commit/34773e795be380df8293860aa5a98f917013c1ce) wip: prompt history backend integration - [`0c79a56`](https://github.com/open-webui/open-webui/commit/0c79a566ac13ad47bd629a2c561d92c0cd121820) feat: prompt history frontend - [`6ab7d54`](https://github.com/open-webui/open-webui/commit/6ab7d549829ce1a864f113a95f666ba17826daec) refac - [`44da9c6`](https://github.com/open-webui/open-webui/commit/44da9c65232c4ccf927f54439cd3a03b883ffdf1) refac - [`dff0141`](https://github.com/open-webui/open-webui/commit/dff014116063866c3340679569ba087a83a39901) refac - [`5ad593e`](https://github.com/open-webui/open-webui/commit/5ad593e46508a3561f0188bbc73e9e41ac9b77fb) refac: prompt endpoints - [`5510fa1`](https://github.com/open-webui/open-webui/commit/5510fa178ef28cf1a3a861c31d7d61c2ad47a729) refac - [`8bf46dc`](https://github.com/open-webui/open-webui/commit/8bf46dcc5d1b025c8780f11ce7506c0d21f3c024) refac ### 📊 Changes **12 files changed** (+2235 additions, -185 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 06:09:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#25844