Skip to content

Commit 0c78cd7

Browse files
authored
Move query params to create_pass_through_route call (#17660)
Fix error calling Langfuse passthrough endpoint.
1 parent 3a43042 commit 0c78cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litellm/proxy/vertex_ai_endpoints/langfuse_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ async def langfuse_proxy_route(
128128
endpoint=endpoint,
129129
target=str(updated_url),
130130
custom_headers={"Authorization": langfuse_combined_key},
131+
query_params=dict(request.query_params), # type: ignore
131132
) # dynamically construct pass-through endpoint based on incoming path
132133
received_value = await endpoint_func(
133134
request,
134135
fastapi_response,
135136
user_api_key_dict,
136-
query_params=dict(request.query_params), # type: ignore
137137
)
138138

139139
return received_value

0 commit comments

Comments
 (0)