mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix simplify - pass litellm_parent_otel_span
This commit is contained in:
parent
42df97db3c
commit
7ef7bc8a9a
6 changed files with 5 additions and 9 deletions
|
@ -106,7 +106,7 @@ async def add_litellm_data_to_request(
|
|||
data["metadata"]["headers"] = _headers
|
||||
data["metadata"]["endpoint"] = str(request.url)
|
||||
# Add the OTEL Parent Trace before sending it LiteLLM
|
||||
data["litellm_parent_otel_span"] = user_api_key_dict.parent_otel_span
|
||||
data["metadata"]["litellm_parent_otel_span"] = user_api_key_dict.parent_otel_span
|
||||
|
||||
### END-USER SPECIFIC PARAMS ###
|
||||
if user_api_key_dict.allowed_model_region is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue