Files
open-webui/backend/open_webui/utils
Classic298 2a01914ff0 feat: tools and functions must be written with async def (#35240)
Tools and functions written with plain def ran on the server's main loop, so a slow call inside one, such as an HTTP request, froze Open WebUI for every user on that server until it returned. Saving a tool or function in the editor now fails with an error that names every tool method or function hook (pipe, pipes, inlet, request, outlet, stream, action, event) still written with plain def. Tools and functions saved before this are switched off the next time they fail to load, the same way a function that fails to load is already switched off, and that also applies to any other load failure of a tool. Either can be switched back on once its code is updated. The starter code in both editors is async now.

Discussion: https://github.com/open-webui/open-webui/discussions/35238
2026-11-30 18:48:49 +04:00
..
2026-11-24 20:24:18 +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-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