Skip to content

Commit

Permalink
Remove default value for OPENAI_API_VERSION.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklamers committed Jul 25, 2023
1 parent e118a95 commit da98893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gpt_code_ui/webapp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", "{}"))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit da98893

Please sign in to comment.