From 59929a8d06642d61ff4b6b4011d9c5e0d5ad11ee Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 3 Oct 2025 18:11:46 -0500 Subject: [PATCH] refac --- backend/open_webui/utils/tools.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 5cd7377876..6a0a7346bb 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -748,10 +748,6 @@ async def execute_tool_server( if operation.get("requestBody", {}).get("content"): if params: body_params = params - else: - raise Exception( - f"Request body expected for operation '{name}' but none found." - ) async with aiohttp.ClientSession( trust_env=True, timeout=aiohttp.ClientTimeout(total=AIOHTTP_CLIENT_TIMEOUT)