Skip to content

Commit 6737f9e

Browse files
committed
isort
1 parent 904e56b commit 6737f9e

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

litellm/litellm_core_utils/litellm_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
cast,
2727
)
2828

29-
from litellm._uuid import uuid
3029
from httpx import Response
3130
from pydantic import BaseModel
3231

@@ -38,6 +37,7 @@
3837
turn_off_message_logging,
3938
)
4039
from litellm._logging import _is_debugging_on, verbose_logger
40+
from litellm._uuid import uuid
4141
from litellm.batches.batch_utils import _handle_completed_batch
4242
from litellm.caching.caching import DualCache, InMemoryCache
4343
from litellm.caching.caching_handler import LLMCachingHandler

litellm/proxy/common_request_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
Union,
1515
)
1616

17-
from litellm._uuid import uuid
1817
import httpx
1918
import orjson
2019
from fastapi import HTTPException, Request, status
2120
from fastapi.responses import Response, StreamingResponse
2221

2322
import litellm
2423
from litellm._logging import verbose_proxy_logger
24+
from litellm._uuid import uuid
2525
from litellm.constants import (
2626
DD_TRACER_STREAMING_CHUNK_YIELD_RESOURCE,
2727
STREAM_SSE_DATA_PREFIX,

litellm/types/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
Union,
1414
)
1515

16-
from litellm._uuid import uuid
1716
from aiohttp import FormData
1817
from openai._models import BaseModel as OpenAIObject
1918
from openai.types.audio.transcription_create_params import FileTypes # type: ignore
@@ -33,6 +32,7 @@
3332
from typing_extensions import Callable, Dict, Required, TypedDict, override
3433

3534
import litellm
35+
from litellm._uuid import uuid
3636
from litellm.types.llms.base import (
3737
BaseLiteLLMOpenAIResponseObject,
3838
LiteLLMPydanticObjectBase,

litellm/utils.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040

4141
import aiohttp
4242
import dotenv
43-
from litellm._uuid import uuid
4443
import httpx
4544
import openai
4645
import tiktoken
@@ -59,12 +58,7 @@
5958
import litellm.litellm_core_utils.json_validation_rule
6059
import litellm.llms
6160
import litellm.llms.gemini
62-
# Import cached imports utilities
63-
from litellm.litellm_core_utils.cached_imports import (
64-
get_coroutine_checker,
65-
get_litellm_logging_class,
66-
get_set_callbacks,
67-
)
61+
from litellm._uuid import uuid
6862
from litellm.caching._internal_lru_cache import lru_cache_wrapper
6963
from litellm.caching.caching import DualCache
7064
from litellm.caching.caching_handler import CachingHandlerResponse, LLMCachingHandler
@@ -228,7 +222,6 @@
228222
get_args,
229223
)
230224

231-
232225
from openai import OpenAIError as OriginalError
233226

234227
from litellm.litellm_core_utils.thread_pool_executor import executor

0 commit comments

Comments
 (0)