refactor: remove unused imports in main.py

This commit is contained in:
smonux 2024-10-06 11:11:52 +02:00 committed by smonux (aider)
parent 6bcfdaaaf0
commit 83191dbe08

View File

@ -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)