mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[PR #358] [MERGED] feat: custom prompt support #20284
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/358
Author: @tjbck
Created: 1/3/2024
Status: ✅ Merged
Merged: 1/3/2024
Merged by: @tjbck
Base:
main← Head:prompts📝 Commits (6)
22c210efeat: custom prompt support2474147feat: prompts backend support69ff596feat: prompts backend frontend integration7fc1d7cfeat: prompt crud5436c2cchore: comment removed6f262dbfeat: 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.