Files
open-webui/backend/open_webui/utils
Classic298 842261a4a8 fix: skip the knowledge and skill lists when there is nothing to list (#33812)
With native function calling, the model got a hidden list of the attached knowledge and of the user's skills before every new reply, even when no knowledge was attached and the user had no skills, so every chat spent tokens on two empty lists. A custom pipe function that reads the last message as the user's question got the empty knowledge list instead of the question. Each list is now left out when it is empty, as in 0.13.0.

Fixes #33807
2026-11-06 22:03:50 +09:00
..
2026-11-06 15:10:49 +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-05 11:41:25 +09:00
2026-11-05 11:41:25 +09:00
2026-11-02 00:31:46 +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-03 17:36:03 +09:00
2026-10-25 08:24:14 +09:00
2026-11-06 13:17:42 +09:00
2026-11-06 09:02:24 +09:00
2026-07-26 23:09:22 -04:00
2026-11-02 08:48:51 +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-02 17:49:51 +09:00
2026-11-06 13:40:53 +09:00
2026-11-06 15:03:40 +09:00
2026-11-06 15:28:09 +09:00
2026-11-06 13:32:56 +09:00
2026-11-06 09:02:24 +09:00
2026-11-06 13:23:52 +09:00
2026-11-06 12:40:49 +09:00
2026-11-06 11:12:04 +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