[PR #358] [MERGED] feat: custom prompt support #107595

Closed
opened 2026-05-18 06:29:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/358
Author: @tjbck
Created: 1/3/2024
Status: Merged
Merged: 1/3/2024
Merged by: @tjbck

Base: mainHead: prompts


📝 Commits (6)

  • 22c210e feat: custom prompt support
  • 2474147 feat: prompts backend support
  • 69ff596 feat: prompts backend frontend integration
  • 7fc1d7c feat: prompt crud
  • 5436c2c chore: comment removed
  • 6f262db feat: tip message update

📊 Changes

14 files changed (+1378 additions, -177 deletions)

View changed files

📝 backend/apps/web/main.py (+4 -1)
📝 backend/apps/web/models/modelfiles.py (+1 -1)
backend/apps/web/models/prompts.py (+117 -0)
backend/apps/web/routers/prompts.py (+115 -0)
📝 backend/constants.py (+1 -1)
src/lib/apis/prompts/index.ts (+178 -0)
📝 src/lib/components/chat/MessageInput/PromptCommands.svelte (+56 -172)
📝 src/lib/components/layout/Sidebar.svelte (+29 -1)
📝 src/lib/stores/index.ts (+3 -0)
📝 src/routes/(app)/+layout.svelte (+5 -1)
📝 src/routes/(app)/modelfiles/+page.svelte (+24 -0)
src/routes/(app)/prompts/+page.svelte (+403 -0)
src/routes/(app)/prompts/create/+page.svelte (+221 -0)
src/routes/(app)/prompts/edit/+page.svelte (+221 -0)

📄 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/358 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 1/3/2024 **Status:** ✅ Merged **Merged:** 1/3/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `prompts` --- ### 📝 Commits (6) - [`22c210e`](https://github.com/open-webui/open-webui/commit/22c210e8f67e996e2816835786393d298e69db6e) feat: custom prompt support - [`2474147`](https://github.com/open-webui/open-webui/commit/247414743b330501294c067fdd0c71f24749973e) feat: prompts backend support - [`69ff596`](https://github.com/open-webui/open-webui/commit/69ff59604531a744a07c163953f61c19521a74f4) feat: prompts backend frontend integration - [`7fc1d7c`](https://github.com/open-webui/open-webui/commit/7fc1d7c2c7b691f9ebca859f9c12b92cbbdbadf3) feat: prompt crud - [`5436c2c`](https://github.com/open-webui/open-webui/commit/5436c2c0719efe2884c106b2e3b4811c390583b6) chore: comment removed - [`6f262db`](https://github.com/open-webui/open-webui/commit/6f262db676af0210bacd095fee9377e1200af06e) feat: tip message update ### 📊 Changes **14 files changed** (+1378 additions, -177 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/web/main.py` (+4 -1) 📝 `backend/apps/web/models/modelfiles.py` (+1 -1) ➕ `backend/apps/web/models/prompts.py` (+117 -0) ➕ `backend/apps/web/routers/prompts.py` (+115 -0) 📝 `backend/constants.py` (+1 -1) ➕ `src/lib/apis/prompts/index.ts` (+178 -0) 📝 `src/lib/components/chat/MessageInput/PromptCommands.svelte` (+56 -172) 📝 `src/lib/components/layout/Sidebar.svelte` (+29 -1) 📝 `src/lib/stores/index.ts` (+3 -0) 📝 `src/routes/(app)/+layout.svelte` (+5 -1) 📝 `src/routes/(app)/modelfiles/+page.svelte` (+24 -0) ➕ `src/routes/(app)/prompts/+page.svelte` (+403 -0) ➕ `src/routes/(app)/prompts/create/+page.svelte` (+221 -0) ➕ `src/routes/(app)/prompts/edit/+page.svelte` (+221 -0) </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-05-18 06:29:19 -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#107595