use common helpers for writing to otel

This commit is contained in:
Ishaan Jaff 2024-07-27 11:40:39 -07:00
parent f71ba63cab
commit 19fb5cc11c
5 changed files with 23 additions and 34 deletions

View file

@ -21,7 +21,7 @@ from openai._models import BaseModel as OpenAIObject
import litellm
from litellm._logging import verbose_logger
from litellm.integrations.opentelemetry import _get_parent_otel_span_from_kwargs
from litellm.litellm_core_utils.core_helpers import _get_parent_otel_span_from_kwargs
from litellm.types.services import ServiceLoggerPayload, ServiceTypes