fix(litellm_pre_call_utils.py'): rename call_type to actual call used

This commit is contained in:
Krrish Dholakia 2024-11-04 15:00:48 +05:30
parent 1429bcc2de
commit 9794cfd1af

View file

@ -552,7 +552,7 @@ async def add_litellm_data_to_request( # noqa: PLR0915
await service_logger_obj.async_service_success_hook(
service=ServiceTypes.PROXY_PRE_CALL,
duration=end_time - start_time,
call_type="completion",
call_type="add_litellm_data_to_request",
start_time=start_time,
end_time=end_time,
parent_otel_span=user_api_key_dict.parent_otel_span,