mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix import locs
This commit is contained in:
parent
6c0e1bd38b
commit
e6254b84ec
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ import asyncio
|
|||
from unittest.mock import Mock
|
||||
|
||||
import httpx
|
||||
|
||||
import litellm_proxy
|
||||
from litellm_proxy.proxy_server import initialize_pass_through_endpoints
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ class TestOpentelemetryUnitTests(BaseLoggingCallbackTest):
|
|||
def test_parallel_tool_calls(self, mock_response_obj: ModelResponse):
|
||||
tool_calls = mock_response_obj.choices[0].message.tool_calls
|
||||
from litellm.integrations.opentelemetry import OpenTelemetry
|
||||
from litellm_proxy._types import SpanAttributes
|
||||
from litellm.types.integrations.opentelemetry import SpanAttributes
|
||||
|
||||
kv_pair_dict = OpenTelemetry._tool_calls_kv_pair(tool_calls)
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import asyncio
|
|||
import logging
|
||||
from opentelemetry.sdk.trace.export.in_memory_span_exporter import InMemorySpanExporter
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm_proxy._types import SpanAttributes
|
||||
from litellm.types.integrations.opentelemetry import SpanAttributes
|
||||
|
||||
verbose_logger.setLevel(logging.DEBUG)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue