fix simplify - pass litellm_parent_otel_span

This commit is contained in:
Ishaan Jaff 2024-06-07 13:48:21 -07:00
parent 42df97db3c
commit 7ef7bc8a9a
6 changed files with 5 additions and 9 deletions

View file

@ -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: