diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.py index 81a50db6d2..50ac1335ec 100644 --- a/litellm/types/llms/openai.py +++ b/litellm/types/llms/openai.py @@ -23,7 +23,7 @@ from openai.types import FileObject, Batch from typing import TypedDict, List, Optional, Tuple, Mapping, IO -FileContent = Union[IO[bytes], bytes, PathLike[str]] +FileContent = Union[IO[bytes], bytes, PathLike] FileTypes = Union[ # file (or bytes)