Files
open-webui/backend/open_webui/utils
Classic298 71de09dba5 fix: a provider error mid-reply no longer keeps the tool loop going (#35237)
When the model provider sent an error in the middle of a streamed reply that had started a tool call, Open WebUI showed the error but kept going. It asked the model for another reply, and a tool call whose arguments were already complete still ran. With a provider that kept failing, every new reply hit the error again, up to the CHAT_RESPONSE_MAX_TOOL_CALL_ITERATIONS limit (1024 by default). Now a provider error ends the reply. The error stays shown, no tool from that reply runs and no further request is sent.

Fixes #35236
2026-11-30 18:33:43 +04:00
..
2026-11-24 20:24:18 +04:00
2026-11-25 04:45:54 +04:00
2026-11-19 19:13:33 +04:00
2026-11-26 18:14:38 +04:00
2026-11-22 20:43:18 +04:00
2026-11-19 19:13:33 +04:00
2026-11-13 17:36:00 +09:00
2026-11-16 21:10:30 +09:00
2026-11-22 17:13:34 +04:00
2026-11-09 08:05:51 +09:00
2026-11-25 02:15:42 +04:00
2026-11-25 13:06:56 +04:00
2026-11-16 21:10:30 +09:00
2026-10-12 17:29:04 +04:00
2026-07-23 02:54:56 -04:00
2026-11-24 22:11:32 +04:00
2026-07-31 17:41:14 -04:00
2026-11-25 04:57:27 +04:00
2026-11-13 17:36:00 +09:00
2026-11-02 08:48:51 +09:00
2026-11-25 13:06:56 +04:00
2026-11-24 19:10:42 +04:00
2026-11-27 15:17:00 +04:00
2026-07-26 23:09:22 -04:00
2026-11-05 16:54:50 +09:00
2026-11-02 08:48:51 +09:00
2026-11-22 02:10:33 +04:00
2026-11-02 08:48:51 +09:00
2026-11-22 20:33:28 +04:00
2026-11-22 16:26:59 +04:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-11-25 13:06:56 +04:00
2026-11-25 04:31:16 +04:00
2026-10-16 14:31:39 +04:00
2026-11-22 17:13:34 +04:00
2026-11-25 05:11:32 +04:00
2026-11-22 16:26:59 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-22 17:13:34 +04:00
2026-11-20 21:51:19 +04:00
2026-11-02 08:48:51 +09:00
2026-10-11 15:55:57 +04:00
2026-11-02 08:48:51 +09:00