open-webui/backend/open_webui
Classic298 641c82df19
fix: automations, timers and sub-agents fail with "Message already exists" (#32177)
Automation runs, timers and sub-agents stopped getting a reply after the shared chats rework: the chat shows an empty answer and the run fails with `409 Message already exists or has an invalid ID.` Each of them creates the empty answer before asking the model, and the backend began refusing to fill an answer that is already in the chat; the server-side API flow in the docs and API calls without a user message broke the same way. Such an empty answer is now filled in again when it belongs to the same user and answers the same message, and API calls without a user message work as before, saving the reply on its own as the docs describe. A firing timer or sub-agent also no longer cancels the chat's other timers that are set to stop when the user writes next. Answers that are already finished, or that belong to another user in a shared chat, are still refused.

Fixes #32066
2026-10-10 20:02:54 +04:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal fix: non-English text is missed by searches and counted six times against size limits (#31615) 2026-09-30 19:19:29 +04:00
migrations refac 2026-10-09 18:37:55 +04:00
models fix: automations, timers and sub-agents fail with "Message already exists" (#32177) 2026-10-10 20:02:54 +04:00
retrieval fix: Datalab Marker extraction fails on installs outside the Docker image (#32164) 2026-10-10 20:00:02 +04:00
routers fix: report a failed admin Interface save and fall back to the default when a number field is left empty (#32163) 2026-10-10 20:01:18 +04:00
socket refac 2026-10-08 16:22:12 +04:00
static refac 2026-09-06 17:27:30 -04:00
storage refac 2026-10-05 12:03:19 +04:00
tools refac 2026-10-10 01:28:36 +04:00
utils fix: functions and tools with a required Valves field cannot be saved (#32165) 2026-10-10 19:59:52 +04:00
__init__.py refac 2026-10-05 12:17:25 +04:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py refac 2026-10-08 23:21:57 +04:00
constants.py fix: SSO login failures show the email/password error (#31629) 2026-09-30 19:07:49 +04:00
env.py refac 2026-10-01 03:31:20 +04:00
events.py refac 2026-10-08 14:30:07 +04:00
functions.py refac 2026-10-08 20:33:47 +04:00
main.py fix: automations, timers and sub-agents fail with "Message already exists" (#32177) 2026-10-10 20:02:54 +04:00
tasks.py refac 2026-09-21 08:59:39 -04:00