mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
absolute imports
This commit is contained in:
parent
65df3550aa
commit
904e56babb
5 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ from typing import (
|
|||
cast,
|
||||
)
|
||||
|
||||
from .._uuid import uuid
|
||||
from litellm._uuid import uuid
|
||||
from httpx import Response
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
|
|
|||
|
|
@ -774,7 +774,7 @@ class CommonBatchFilesUtils:
|
|||
Returns:
|
||||
Unique job name (≤ 63 characters for Bedrock compatibility)
|
||||
"""
|
||||
from ..._uuid import uuid
|
||||
from litellm._uuid import uuid
|
||||
unique_id = str(uuid.uuid4())[:8]
|
||||
# Format: {prefix}-batch-{model}-{uuid}
|
||||
# Example: litellm-batch-claude-266c398e
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ from typing import (
|
|||
Union,
|
||||
)
|
||||
|
||||
from .._uuid import uuid
|
||||
from litellm._uuid import uuid
|
||||
import httpx
|
||||
import orjson
|
||||
from fastapi import HTTPException, Request, status
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ from typing import (
|
|||
Union,
|
||||
)
|
||||
|
||||
from .._uuid import uuid
|
||||
from litellm._uuid import uuid
|
||||
from aiohttp import FormData
|
||||
from openai._models import BaseModel as OpenAIObject
|
||||
from openai.types.audio.transcription_create_params import FileTypes # type: ignore
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ from os.path import abspath, dirname, join
|
|||
|
||||
import aiohttp
|
||||
import dotenv
|
||||
from ._uuid import uuid
|
||||
from litellm._uuid import uuid
|
||||
import httpx
|
||||
import openai
|
||||
import tiktoken
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue