Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

isolated scope chngs

Alex Shoop3573a36d711f
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index 7a3ac15576b..d37978f3e21 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -13,6 +13,7 @@ from typing import (
Union,
)
+from aiohttp import FormData
from openai._models import BaseModel as OpenAIObject
from openai.types.audio.transcription_create_params import FileTypes # type: ignore
from openai.types.chat.chat_completion import ChatCompletion
@@ -30,6 +31,7 @@ from openai.types.moderation_create_response import Moderation, ModerationCreate
from pydantic import BaseModel, ConfigDict, Field, PrivateAttr, model_validator
from typing_extensions import Callable, Dict, Required, TypedDict, override
+import litellm
from litellm._uuid import uuid
from litellm.types.llms.base import (
BaseLiteLLMOpenAIResponseObject,