diff --git a/backend/open_webui/routers/configs.py b/backend/open_webui/routers/configs.py index 2a4c651f2..8cdda72a6 100644 --- a/backend/open_webui/routers/configs.py +++ b/backend/open_webui/routers/configs.py @@ -206,6 +206,7 @@ async def set_models_config( class PromptSuggestion(BaseModel): title: list[str] content: str + imageUrl: str = "" class SetDefaultSuggestionsForm(BaseModel): diff --git a/src/lib/components/admin/Settings/Interface.svelte b/src/lib/components/admin/Settings/Interface.svelte index adb4fbdf9..a5d0fd1b4 100644 --- a/src/lib/components/admin/Settings/Interface.svelte +++ b/src/lib/components/admin/Settings/Interface.svelte @@ -15,6 +15,7 @@ import Tooltip from '$lib/components/common/Tooltip.svelte'; import Switch from '$lib/components/common/Switch.svelte'; import Textarea from '$lib/components/common/Textarea.svelte'; + import Image from '$lib/components/common/Image.svelte'; const dispatch = createEventDispatcher(); @@ -427,15 +428,25 @@ bind:value={prompt.title[1]} /> +