From 032a213b9bf388fcbed4624e023155272a1c1b2d Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 7 Oct 2025 18:04:44 -0700 Subject: [PATCH] feat(pass_through_endpoint.py): cleanup error message + validate it works across multiple instances --- litellm/proxy/pass_through_endpoints/pass_through_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py index 8542f87327f..b1877cd20ea 100644 --- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py @@ -991,7 +991,7 @@ def create_pass_through_route( ): raise HTTPException( status_code=404, - detail=f"Pass-through endpoint {target} not found. This could have been deleted or not yet added to the proxy.", + detail=f"Pass-through endpoint {endpoint} not found. This could have been deleted or not yet added to the proxy.", ) return await pass_through_request( # type: ignore