Files
open-webui_open-webui/backend/open_webui
Classic298 48f78ca58d fix: prevent startup crash when function/tool has null user_id (#26850)
The Function and Tool database columns declare user_id as a nullable
String column, but their Pydantic read-models required a non-null
string. A record with user_id NULL therefore raised a
pydantic ValidationError inside get_functions()/get_tools(), which run
during install_tool_and_function_dependencies() at app startup —
crashing the whole application and blocking all chat completions.

Make user_id Optional in the read/response models so such records
validate gracefully (user is already rendered as None downstream when
the id has no matching user) instead of taking down startup.


Claude-Session: https://claude.ai/code/session_01Y4RRUNq7ZUFkRWbWPkDw3m

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-24 00:00:37 -05:00
..
2026-07-24 00:40:42 -04:00
2026-07-24 00:47:12 -04:00
2026-07-23 22:20:50 -04:00
2026-07-20 22:27:13 -04:00
2026-07-24 00:47:12 -04:00
2026-06-17 03:01:11 +02:00
2026-07-23 22:44:04 -04:00
2026-06-29 05:46:51 -05:00
2026-07-23 22:52:23 -04:00
2026-07-23 03:39:56 -04:00
2026-07-24 00:47:12 -04:00
2026-07-16 21:57:43 -04:00