diff --git a/litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py b/litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py index b95cb945e5e..42ff023a092 100644 --- a/litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py +++ b/litellm/proxy/pass_through_endpoints/llm_provider_handlers/vertex_passthrough_logging_handler.py @@ -133,7 +133,7 @@ class VertexPassthroughLoggingHandler: The query string is stripped first so a route such as ``.../gemini-3.8-flash:streamGenerateContent?alt=sse`` still matches. """ - path = urlparse(url_route).path + path: Final = urlparse(url_route).path return path.endswith((method, ":" + method)) @staticmethod