From 650b81792582268345073ce3757ac14356189d75 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 1 Jul 2026 02:49:28 -0500 Subject: [PATCH] refac --- backend/open_webui/utils/automations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/automations.py b/backend/open_webui/utils/automations.py index a2342f094b..d4ac9c5207 100644 --- a/backend/open_webui/utils/automations.py +++ b/backend/open_webui/utils/automations.py @@ -267,7 +267,7 @@ async def _resolve_model_features(app, model_id: str) -> dict: if not default_feature_ids: return {} - capabilities = meta.get('capabilities', {}) + capabilities = meta.get('capabilities') or {} features = {} # code_interpreter is excluded: it requires the frontend event emitter