diff --git a/swarms/tools/py_func_to_openai_func_str.py b/swarms/tools/py_func_to_openai_func_str.py index db40ed45..9a9df87c 100644 --- a/swarms/tools/py_func_to_openai_func_str.py +++ b/swarms/tools/py_func_to_openai_func_str.py @@ -19,7 +19,7 @@ from typing import ( from pydantic import BaseModel, Field from pydantic.version import VERSION as PYDANTIC_VERSION -from typing_extensions import Annotated, Literal, get_args, get_origin +from typing_extensions import Annotated, Literal, get_origin T = TypeVar("T")