From faf01bdeac47aa8bb3b84547c5a6e9bf991b307f Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Aug 2025 23:58:08 +0400 Subject: [PATCH] fix: None Type tool installation during startup Co-Authored-By: Adam Outler --- backend/open_webui/utils/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/plugin.py b/backend/open_webui/utils/plugin.py index 9d539f484..8d9729bae 100644 --- a/backend/open_webui/utils/plugin.py +++ b/backend/open_webui/utils/plugin.py @@ -260,7 +260,7 @@ def install_tool_and_function_dependencies(): all_dependencies += f"{dependencies}, " for tool in tool_list: # Only install requirements for admin tools - if tool.user.role == "admin": + if tool.user and tool.user.role == "admin": frontmatter = extract_frontmatter(replace_imports(tool.content)) if dependencies := frontmatter.get("requirements"): all_dependencies += f"{dependencies}, "