Move query params to create_pass_through_route call (#17660)

Fix error calling Langfuse passthrough endpoint.
This commit is contained in:
Jason Nance
2025-12-08 12:57:49 -08:00
committed by GitHub
parent 3a43042fad
commit 0c78cd7125
@@ -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