From b5cfa2b99259e15493837710cc228329f83fba8d Mon Sep 17 00:00:00 2001 From: Yak! Date: Thu, 1 May 2025 16:41:06 +0900 Subject: [PATCH] fix: Multiple actions in an action module do not work as intended. --- backend/open_webui/utils/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/utils/models.py b/backend/open_webui/utils/models.py index 95d360bed..245eaf874 100644 --- a/backend/open_webui/utils/models.py +++ b/backend/open_webui/utils/models.py @@ -203,6 +203,7 @@ async def get_all_models(request, user: UserModel = None): else: function_module, _, _ = load_function_module_by_id(function_id) request.app.state.FUNCTIONS[function_id] = function_module + return function_module for model in models: action_ids = [