Files
open-webui/backend/open_webui/utils
Classic298 63ca4237eb feat: keep tool images away from models with Vision turned off (#33345)
When a tool returned an image, for example Open Terminal reading a PNG, a native tool or an MCP screenshot tool, the image was sent to the model even when the model has Vision turned off. A provider serving a text-only model rejects that request, so the reply failed with an error like "At most 0 image(s) may be provided in one prompt", and every later message in the chat failed the same way. With Vision off the model now gets a short "[image]" note in place of each tool image, including images already saved in the chat, so stuck chats work again. The images stay saved, so they reach the model again once Vision is turned on.

Fixes #32720
2026-10-29 16:24:47 +09:00
..
2026-10-28 10:02:45 +09:00
2026-10-01 03:31:20 +04:00
2026-10-14 17:10:08 +04:00
2026-08-24 18:29:36 -04:00
2026-10-26 07:24:36 +09:00
2026-10-05 12:17:25 +04:00
2026-10-12 17:29:04 +04:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-31 17:41:14 -04:00
2026-10-21 09:26:26 +09:00
2026-10-01 03:31:20 +04:00
2026-10-25 08:24:14 +09:00
2026-10-14 23:21:22 +04:00
2026-07-26 23:09:22 -04:00
2026-10-22 07:40:01 +09:00
2026-10-09 18:37:55 +04:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-10-26 07:24:36 +09:00
2026-10-16 14:31:39 +04:00
2026-10-28 08:04:47 +09:00
2026-10-10 23:18:09 +04:00
2026-10-14 23:21:22 +04:00
2026-09-15 22:47:03 -04:00
2026-10-11 15:55:57 +04:00