Files
open-webui-ai4me/backend/open_webui/utils
Classic298andClaude 656de56a3e fix: gracefully handle missing functions when loading models (#21476)
When models reference functions (via filterIds/actionIds) that no longer
exist in the database, the /api/models endpoint crashes with a 500 error,
preventing the UI from loading chats entirely. This can happen after
upgrades when built-in functions are removed or when user-created
functions are deleted while still referenced by models.

Instead of raising an exception, log at INFO level and skip the missing
function so the rest of the models load successfully.

Fixes #21464

https://claude.ai/code/session_015JRM7m2bNeZPBBmV2Gv4Mj

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-16 13:02:54 -06:00
..
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:40:40 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2025-09-17 00:49:44 -05:00
2026-02-12 16:13:48 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-01-28 01:18:39 +04:00
2025-12-29 00:21:18 +04:00
2026-02-06 03:23:37 +04:00
2026-02-11 16:24:11 -06:00
2026-02-16 00:43:32 -06:00
2026-01-01 14:01:18 +04:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2025-12-02 03:52:38 -05:00
2026-02-11 16:24:11 -06:00
2024-11-30 23:36:30 -08:00
2026-02-11 16:24:11 -06:00
2026-02-15 17:20:49 -06:00
2026-02-11 16:24:11 -06:00
2026-01-08 00:42:29 +04:00