Original PR: https://github.com/open-webui/open-webui/pull/23870 Author: @VBWizard Created: 4/18/2026 Status: ❌ Closed
Base: main ← Head: suggest-button
main
suggest-button
878de68
ea7dd91
b84c078
26f1724
60a2c4e
08b03a8
62f7f08
e6200ca
9c1e0b7
5f0aa14
19 files changed (+1609 additions, -183 deletions)
📝 backend/dev.sh (+3 -1) 📝 backend/open_webui/config.py (+65 -0) 📝 backend/open_webui/main.py (+9 -0) ➕ backend/open_webui/retrieval/memchat_db.py (+698 -0) 📝 backend/open_webui/routers/chats.py (+14 -1) 📝 backend/open_webui/routers/memories.py (+42 -58) 📝 backend/open_webui/routers/tasks.py (+83 -0) 📝 backend/open_webui/tools/builtin.py (+106 -11) 📝 backend/open_webui/utils/middleware.py (+131 -11) 📝 backend/open_webui/utils/task.py (+9 -0) 📝 backend/open_webui/utils/tools.py (+6 -2) 📝 package-lock.json (+97 -96) 📝 src/lib/apis/index.ts (+82 -0) 📝 src/lib/components/admin/Settings/Interface.svelte (+66 -0) 📝 src/lib/components/chat/Chat.svelte (+7 -1) 📝 src/lib/components/chat/MessageInput.svelte (+95 -2) 📝 src/lib/components/chat/MessageInput/IntegrationsMenu.svelte (+38 -0) 📝 src/lib/components/chat/Placeholder.svelte (+2 -0) 📝 src/lib/components/chat/Settings/Interface.svelte (+56 -0)
backend/dev.sh
backend/open_webui/config.py
backend/open_webui/main.py
backend/open_webui/retrieval/memchat_db.py
backend/open_webui/routers/chats.py
backend/open_webui/routers/memories.py
backend/open_webui/routers/tasks.py
backend/open_webui/tools/builtin.py
backend/open_webui/utils/middleware.py
backend/open_webui/utils/task.py
backend/open_webui/utils/tools.py
package-lock.json
src/lib/apis/index.ts
src/lib/components/admin/Settings/Interface.svelte
src/lib/components/chat/Chat.svelte
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput/IntegrationsMenu.svelte
src/lib/components/chat/Placeholder.svelte
src/lib/components/chat/Settings/Interface.svelte
Add Suggest Button — AI-generated next message suggestions
Adds a sparkles (✨) button to the chat input toolbar that generates suggested follow-up messages based on the current conversation.
Features:
User settings (Interface tab):
Admin settings (Admin → Interface):
Also includes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/23870
Author: @VBWizard
Created: 4/18/2026
Status: ❌ Closed
Base:
main← Head:suggest-button📝 Commits (10+)
878de68Add memchat Postgres memory backend with per-chat toggleea7dd91Refine memory injection and tool split for change-memory-injectionb84c078Fix multimodal memory injection and remove debug payload dump26f1724Address Codex P1/P2: multimodal injection order and steps clamping60a2c4eGuard against null user message content in memory injection08b03a8PR #1 to main - Refine memory injection and tool split for change-memory-injection62f7f08Add per-message char cap to context formatting (MEMCHAT_MAX_MSG_CHARS)e6200caFix zero char limit handling in _truncate (MEMCHAT_MAX_MSG_CHARS=0)9c1e0b7PR #1 to main - Refine memory injection and tool split for change-memory-injection5f0aa14Add suggest generation backend and admin panel config📊 Changes
19 files changed (+1609 additions, -183 deletions)
View changed files
📝
backend/dev.sh(+3 -1)📝
backend/open_webui/config.py(+65 -0)📝
backend/open_webui/main.py(+9 -0)➕
backend/open_webui/retrieval/memchat_db.py(+698 -0)📝
backend/open_webui/routers/chats.py(+14 -1)📝
backend/open_webui/routers/memories.py(+42 -58)📝
backend/open_webui/routers/tasks.py(+83 -0)📝
backend/open_webui/tools/builtin.py(+106 -11)📝
backend/open_webui/utils/middleware.py(+131 -11)📝
backend/open_webui/utils/task.py(+9 -0)📝
backend/open_webui/utils/tools.py(+6 -2)📝
package-lock.json(+97 -96)📝
src/lib/apis/index.ts(+82 -0)📝
src/lib/components/admin/Settings/Interface.svelte(+66 -0)📝
src/lib/components/chat/Chat.svelte(+7 -1)📝
src/lib/components/chat/MessageInput.svelte(+95 -2)📝
src/lib/components/chat/MessageInput/IntegrationsMenu.svelte(+38 -0)📝
src/lib/components/chat/Placeholder.svelte(+2 -0)📝
src/lib/components/chat/Settings/Interface.svelte(+56 -0)📄 Description
Add Suggest Button — AI-generated next message suggestions
Adds a sparkles (✨) button to the chat input toolbar that generates suggested follow-up messages based on the current conversation.
Features:
User settings (Interface tab):
Admin settings (Admin → Interface):
Also includes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.