From c6eb004ed1bb0ce73d323c4b12311df5f7d6ea7b Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 28 May 2024 17:21:59 -0700 Subject: [PATCH] fix python 3.8 error --- litellm/types/llms/openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)