From da9889315e63ea8dd5a684a1a8ffe2cd5e71ded8 Mon Sep 17 00:00:00 2001 From: Rick Lamers Date: Tue, 25 Jul 2023 16:01:43 +0200 Subject: [PATCH] Remove default value for OPENAI_API_VERSION. --- gpt_code_ui/webapp/main.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt_code_ui/webapp/main.py b/gpt_code_ui/webapp/main.py index 5aa5e9e3..6b76974a 100644 --- a/gpt_code_ui/webapp/main.py +++ b/gpt_code_ui/webapp/main.py @@ -21,7 +21,7 @@ openai.api_base = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com") openai.api_type = os.environ.get("OPENAI_API_TYPE", "openai") -openai.api_version = os.environ.get("OPENAI_API_VERSION", "2023-03-15-preview") +openai.api_version = os.environ.get("OPENAI_API_VERSION") openai.api_key = os.environ.get("OPENAI_API_KEY", "") openai.log = os.getenv("OPENAI_API_LOGLEVEL", "") OPENAI_EXTRA_HEADERS = json.loads(os.environ.get("OPENAI_EXTRA_HEADERS", "{}")) diff --git a/setup.py b/setup.py index d47f0e87..2b7df259 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='gpt_code_ui', - version='0.42.37', + version='0.42.38', description="An Open Source version of ChatGPT Code Interpreter", long_description=long_description, long_description_content_type='text/markdown', # This field specifies the format of the `long_description`.