Files
open-webui/backend/open_webui/utils
Classic298 d0c7dec838 fix: replies end in a 400 on vLLM when tool use stops (#34176)
When tool use stopped for a reply (the tool call limit, the same call failing twice, or a reply cut off in the middle of a tool call), Open WebUI asks the model once more for a final answer, and that request carried an empty tools list. vLLM refuses that with a 400, so the reply ended in that error instead of an answer. The final answer request now keeps the chat's tools and turns tool calls off with tool choice "none", the standard setting for that. Ollama has no tool choice setting, so for Ollama models any request with tool choice "none" now leaves the tools out, which is the only way to keep the model from calling them.

Fixes #34169
2026-11-12 21:20:49 +09:00
..
2026-11-10 21:18:18 +09:00
2026-11-11 10:20:45 +09:00
2026-10-30 07:50:55 +09:00
2026-10-01 03:31:20 +04:00
2026-11-03 16:25:23 +09:00
2026-10-14 17:10:08 +04:00
2026-11-02 00:31:46 +09:00
2026-11-09 08:05:51 +09:00
2026-11-05 11:41:25 +09:00
2026-11-10 21:18:18 +09:00
2026-11-10 21:18:18 +09:00
2026-10-12 17:29:04 +04:00
2026-07-23 02:54:56 -04:00
2026-11-02 09:52:30 +09:00
2026-11-03 16:25:23 +09:00
2026-07-31 17:41:14 -04:00
2026-11-02 08:48:51 +09:00
2026-11-11 13:49:51 +09:00
2026-10-25 08:24:14 +09:00
2026-11-06 13:17:42 +09:00
2026-11-11 15:34:33 +09:00
2026-11-09 08:05:51 +09:00
2026-07-26 23:09:22 -04:00
2026-11-08 12:24:29 +09:00
2026-11-05 16:54:50 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-11-02 12:45:15 +09:00
2026-10-16 14:31:39 +04:00
2026-11-08 18:37:29 +09:00
2026-11-06 13:40:53 +09:00
2026-11-10 21:18:18 +09:00
2026-11-08 18:37:29 +09:00
2026-11-06 13:32:56 +09:00
2026-11-11 15:34:33 +09:00
2026-11-12 13:39:35 +09: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