From e167c98e8b9eabd608e421a35ccdc1f87a0d2376 Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Thu, 6 Apr 2023 15:52:43 +0900 Subject: [PATCH] Update __init__.py --- openai/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openai/__init__.py b/openai/__init__.py index f80085eada..e38384af21 100644 --- a/openai/__init__.py +++ b/openai/__init__.py @@ -23,6 +23,7 @@ Moderation, ) from openai.error import APIError, InvalidRequestError, OpenAIError +from openai.version import VERSION if TYPE_CHECKING: from aiohttp import ClientSession @@ -52,6 +53,7 @@ ) # Acts as a global aiohttp ClientSession that reuses connections. # This is user-supplied; otherwise, a session is remade for each request. +__version__ = VERSION __all__ = [ "APIError", "Audio",