Skip to content

Commit da98893

Browse files
committed
Remove default value for OPENAI_API_VERSION.
1 parent e118a95 commit da98893

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gpt_code_ui/webapp/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
openai.api_base = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com")
2323
openai.api_type = os.environ.get("OPENAI_API_TYPE", "openai")
24-
openai.api_version = os.environ.get("OPENAI_API_VERSION", "2023-03-15-preview")
24+
openai.api_version = os.environ.get("OPENAI_API_VERSION")
2525
openai.api_key = os.environ.get("OPENAI_API_KEY", "")
2626
openai.log = os.getenv("OPENAI_API_LOGLEVEL", "")
2727
OPENAI_EXTRA_HEADERS = json.loads(os.environ.get("OPENAI_EXTRA_HEADERS", "{}"))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='gpt_code_ui',
10-
version='0.42.37',
10+
version='0.42.38',
1111
description="An Open Source version of ChatGPT Code Interpreter",
1212
long_description=long_description,
1313
long_description_content_type='text/markdown', # This field specifies the format of the `long_description`.

0 commit comments

Comments
 (0)