From 0c78cd7125959df5b1a2bb505f171a3d214c2ee5 Mon Sep 17 00:00:00 2001 From: Jason Nance <103449147+jason-nance@users.noreply.github.com> Date: Mon, 8 Dec 2025 15:57:49 -0500 Subject: [PATCH] Move query params to create_pass_through_route call (#17660) Fix error calling Langfuse passthrough endpoint. --- litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py b/litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py index 684e2ad061..ce27c830f6 100644 --- a/litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py +++ b/litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py @@ -128,12 +128,12 @@ async def langfuse_proxy_route( endpoint=endpoint, target=str(updated_url), custom_headers={"Authorization": langfuse_combined_key}, + query_params=dict(request.query_params), # type: ignore ) # dynamically construct pass-through endpoint based on incoming path received_value = await endpoint_func( request, fastapi_response, user_api_key_dict, - query_params=dict(request.query_params), # type: ignore ) return received_value