From c217bddb59ba55b156153000c1ee04698d437c39 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 8 Nov 2025 10:35:23 -0800 Subject: [PATCH] fix linting --- .../proxy/pass_through_endpoints/pass_through_endpoints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py index 876feb0ccd7..b2211035ee0 100644 --- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py @@ -2005,9 +2005,9 @@ async def initialize_pass_through_endpoints( ) # remove the ones that are not visited from the list - for endpoint in registered_pass_through_endpoints: - if endpoint not in visited_endpoints: - InitPassThroughEndpointHelpers.remove_endpoint_routes(endpoint) + for endpoint_key in registered_pass_through_endpoints: + if endpoint_key not in visited_endpoints: + InitPassThroughEndpointHelpers.remove_endpoint_routes(endpoint_key) async def _get_pass_through_endpoints_from_db(