From 83191dbe087341ff90a18bf0eab2c624996b14c3 Mon Sep 17 00:00:00 2001 From: smonux Date: Sun, 6 Oct 2024 11:11:52 +0200 Subject: [PATCH] refactor: remove unused imports in main.py --- backend/open_webui/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index d43ae03cb..4693809e9 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -432,8 +432,6 @@ def update_body_request(request: Request, ] return None -from starlette.middleware import Middleware -from starlette.middleware.base import BaseHTTPMiddleware, RequestResponseEndpoint async def handle_nonstreaming_response(request: Request, response: Response, tools: dict) -> Response: response_dict = json.loads(response)