From 94405b621812d9c06eaf758ca41b36ecd7b78841 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Mon, 16 Mar 2026 16:13:11 +0530 Subject: [PATCH] fix(types): use direct FileTypes import in video schemas Avoid the temporary Any alias and use a concrete FileTypes import compatible with type checks. Made-with: Cursor --- litellm/types/videos/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/types/videos/main.py b/litellm/types/videos/main.py index 24454890fe3..880fec7640d 100644 --- a/litellm/types/videos/main.py +++ b/litellm/types/videos/main.py @@ -1,10 +1,9 @@ from typing import Any, Dict, List, Literal, Optional +from openai.types.audio.transcription_create_params import FileTypes # type: ignore from pydantic import BaseModel from typing_extensions import TypedDict -FileTypes = Any - class VideoObject(BaseModel): """Represents a generated video object."""