mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #6107] [CLOSED] feat: Add ability to pin prompts as reference above prompt field #44869
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/6107
Author: @davidsuarezcdo
Created: 10/10/2024
Status: ❌ Closed
Base:
dev← Head:feat-chat-prompts-attached📝 Commits (10+)
4809ee5feat: add prompt attached feature09d2f73chore: formated files54ad6e7chore: remove unnecesary console logs3aa8f4ffeat: replace feature by prompt behaviordc46c38Merge branch 'dev' into feat-chat-prompts-attached770aed8chore: remove sticky optionb770996Merge branch 'dev' into feat-chat-prompts-attached8f87025chore: update background color8474f4fMerge branch 'dev' into feat-chat-prompts-attached850fa5fMerge branch 'dev' into feat-chat-prompts-attached📊 Changes
12 files changed (+247 additions, -32 deletions)
View changed files
📝
backend/open_webui/apps/webui/models/prompts.py(+6 -1)➕
backend/open_webui/migrations/versions/12e4b5f95a73_add_prompt_behavior_property.py(+37 -0)📝
src/lib/apis/prompts/index.ts(+8 -4)📝
src/lib/components/chat/Chat.svelte(+7 -1)📝
src/lib/components/chat/MessageInput.svelte(+45 -6)📝
src/lib/components/chat/MessageInput/Commands.svelte(+9 -1)📝
src/lib/components/chat/MessageInput/Commands/Prompts.svelte(+14 -4)📝
src/lib/components/chat/Placeholder.svelte(+3 -1)➕
src/lib/components/icons/Terminal.svelte(+20 -0)📝
src/lib/stores/index.ts(+4 -1)📝
src/routes/(app)/workspace/prompts/create/+page.svelte(+47 -7)📝
src/routes/(app)/workspace/prompts/edit/+page.svelte(+47 -6)📄 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.Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information ⚠️
Screenshots or Videos
https://github.com/user-attachments/assets/34866b50-1d76-4f32-9a57-9c635dce2108
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.