mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
Move query params to create_pass_through_route call (#17660)
Fix error calling Langfuse passthrough endpoint.
This commit is contained in:
parent
3a43042fad
commit
0c78cd7125
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue