open-webui/backend/open_webui
Classic298 728f397ff4
fix: earlier tool calls are sent twice after answering the model's question or pressing Continue (#32029)
When a reply was paused and then picked up again, either by answering a question from the built-in Ask User tool or by pressing Continue, every tool round from the second one on sent everything from before the pause to the model twice. Providers that reject repeated tool calls, like DeepSeek, then fail with "Duplicate 'call_id'" and the chat stops, while others quietly see the earlier tool calls and text twice. Everything from before the pause is now sent exactly once. Tested against a mock provider that records every request: three tool rounds after an answered question and after Continue send everything once, and replies that were never paused send exactly what they sent before.

Fixes #31991
2026-10-07 15:04:52 +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-07 15:01:08 +04:00
models refac 2026-10-07 13:22:00 +04:00
retrieval fix: send the query embedding as a vector in external pgvector retrieval (#31112) 2026-10-01 07:51:32 +04:00
routers refac 2026-10-07 13:49:55 +04:00
socket refac 2026-10-05 14:01:02 +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-05 14:01:02 +04:00
utils fix: earlier tool calls are sent twice after answering the model's question or pressing Continue (#32029) 2026-10-07 15:04: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-07 01:02:33 +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-05 14:01:02 +04:00
functions.py refac 2026-10-01 03:31:20 +04:00
main.py refac 2026-10-07 00:39:16 +04:00
tasks.py refac 2026-09-21 08:59:39 -04:00