mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-04 07:47:12 -05:00
[PR #12230] [CLOSED] Feat: Add Support for Images in Prompt Suggestions #22871
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/12230
Author: @lucagutzeit
Created: 3/31/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (2)
81f2398Support for Images in Prompt Suggestions83a6178Show images in settings for prompt suggestions📊 Changes
7 files changed (+65 additions, -17 deletions)
View changed files
📝
backend/open_webui/routers/configs.py(+1 -0)📝
src/lib/components/admin/Settings/Interface.svelte(+19 -8)📝
src/lib/components/chat/Chat.svelte(+1 -0)📝
src/lib/components/chat/Messages.svelte(+11 -3)📝
src/lib/components/chat/Placeholder.svelte(+8 -3)📝
src/lib/components/chat/Suggestions.svelte(+13 -3)📝
src/lib/components/workspace/Models/ModelEditor.svelte(+12 -0)📄 Description
First-time contributor: #12126
Checklist
/suggestionsendpoint. I can add both if needed./suggestionsendpoint and import functions in the models settings to add an base64 image to the prompt.Changelog Entry
Description
This PR adds support for images in promp suggestions.
Added
Suggestions.svelte,Interface.svelteandModelEditor.svelteMessages.svelteto make it possible to add the image to the message input/suggestionsendpoint inconfig.pyAdditional Information
functionality of the chat, or creating a new component that handles uploads.
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.