From 14473ed8f964e1e345f90a7a190680fadf86b45b Mon Sep 17 00:00:00 2001 From: user <70670632+stuxf@users.noreply.github.com> Date: Wed, 29 Apr 2026 23:04:34 +0000 Subject: [PATCH] =?UTF-8?q?fix(static-assets):=20ruff=20F811=20=E2=80=94?= =?UTF-8?q?=20drop=20duplicate=20Response=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``Response`` is already imported from the top-level ``fastapi`` package via the multi-line ``from fastapi import (...)`` block at the top of the file (along with ``Depends``, ``HTTPException``, etc.) — ``fastapi.Response`` is the same class that ``fastapi.responses`` re-exports. The earlier ``from fastapi.responses import Response`` addition triggered ruff F811 for redefinition. Co-Authored-By: Claude Opus 4.7 (1M context) --- litellm/proxy/proxy_server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index b5288f71654..776c05dfccb 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -605,7 +605,6 @@ from fastapi.responses import ( JSONResponse, ORJSONResponse, RedirectResponse, - Response, StreamingResponse, ) from fastapi.routing import APIRouter