Timothy Jaeryang Baek vor 2 Tagen
Ursprung
Commit
59929a8d06
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. 0 4
      backend/open_webui/utils/tools.py

+ 0 - 4
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)