diff --git a/portkey_ai/api_resources/apis/__init__.py b/portkey_ai/api_resources/apis/__init__.py index 92b9ff4..100d8a4 100644 --- a/portkey_ai/api_resources/apis/__init__.py +++ b/portkey_ai/api_resources/apis/__init__.py @@ -1,10 +1,3 @@ -""" -The following change is brought to handle the cases for pydantic v1 and v2 -Including (import sys) and -sys.modules["openai"] = vendored_openai -""" -import sys -from ..._vendor import openai as vendored_openai from .chat_complete import ( ChatCompletion, AsyncChatCompletion, @@ -139,8 +132,6 @@ from .collections import Collections, AsyncCollections -sys.modules["openai"] = vendored_openai # For pydantic v1 and v2 compatibility - __all__ = [ "Completion", "AsyncCompletion",