mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix import loc2
This commit is contained in:
parent
1b6b05e8d4
commit
fec670c341
1 changed files with 3 additions and 1 deletions
|
@ -25,14 +25,16 @@ from litellm.types.utils import (
|
||||||
StandardCallbackDynamicParams,
|
StandardCallbackDynamicParams,
|
||||||
StandardLoggingPayload,
|
StandardLoggingPayload,
|
||||||
)
|
)
|
||||||
from litellm_proxy._types import UserAPIKeyAuth
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from opentelemetry.trace import Span as _Span
|
from opentelemetry.trace import Span as _Span
|
||||||
|
|
||||||
|
from litellm_proxy._types import UserAPIKeyAuth
|
||||||
|
|
||||||
Span = Union[_Span, Any]
|
Span = Union[_Span, Any]
|
||||||
else:
|
else:
|
||||||
Span = Any
|
Span = Any
|
||||||
|
UserAPIKeyAuth = Any
|
||||||
|
|
||||||
|
|
||||||
class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callback#callback-class
|
class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callback#callback-class
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue