mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
Remove double imports
This commit is contained in:
parent
ecd628b4ab
commit
5abb677624
2 changed files with 2 additions and 14 deletions
|
|
@ -31,7 +31,7 @@ for attempt in range(_max_retries):
|
|||
try:
|
||||
encoding = tiktoken.get_encoding("cl100k_base")
|
||||
break
|
||||
except (FileExistsError, OSError) as e:
|
||||
except (FileExistsError, OSError):
|
||||
if attempt == _max_retries - 1:
|
||||
# Last attempt, re-raise the exception
|
||||
raise
|
||||
|
|
|
|||
|
|
@ -110,30 +110,18 @@ from litellm.types.utils import (
|
|||
RawRequestTypedDict,
|
||||
StreamingChoices,
|
||||
)
|
||||
from litellm.types.utils import (
|
||||
ModelResponseStream,
|
||||
RawRequestTypedDict,
|
||||
StreamingChoices,
|
||||
)
|
||||
|
||||
from litellm.utils import (
|
||||
Choices,
|
||||
Choices,
|
||||
CustomStreamWrapper,
|
||||
EmbeddingResponse,
|
||||
Message,
|
||||
ModelResponse,
|
||||
EmbeddingResponse,
|
||||
Message,
|
||||
ModelResponse,
|
||||
ProviderConfigManager,
|
||||
TextChoices,
|
||||
TextCompletionResponse,
|
||||
TextCompletionStreamWrapper,
|
||||
TranscriptionResponse,
|
||||
TextChoices,
|
||||
TextCompletionResponse,
|
||||
TextCompletionStreamWrapper,
|
||||
TranscriptionResponse,
|
||||
Usage,
|
||||
_get_model_info_helper,
|
||||
add_provider_specific_params_to_optional_params,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue