From 0e46f8091f710b109abe7f6abb73c8c7f0ffdb55 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 25 Aug 2025 14:29:05 +0400 Subject: [PATCH] fix: __tools__ param issue --- backend/open_webui/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/functions.py b/backend/open_webui/functions.py index d8f2a61257..db367ccbd0 100644 --- a/backend/open_webui/functions.py +++ b/backend/open_webui/functions.py @@ -232,7 +232,7 @@ async def generate_function_chat_completion( "__metadata__": metadata, "__request__": request, } - extra_params["__tools__"] = get_tools( + extra_params["__tools__"] = await get_tools( request, tool_ids, user,