"src/lib/vscode:/vscode.git/clone" did not exist on "0a9f41a044bae013b47714d1de3ea0549b081adb"
Commit 38321355 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent eefe0145
......@@ -322,9 +322,14 @@ OPENAI_API_BASE_URLS = [
]
OPENAI_API_KEY = ""
OPENAI_API_KEY = OPENAI_API_KEYS[
OPENAI_API_BASE_URLS.index("https://api.openai.com/v1")
]
try:
OPENAI_API_KEY = OPENAI_API_KEYS[
OPENAI_API_BASE_URLS.index("https://api.openai.com/v1")
]
except:
pass
OPENAI_API_BASE_URL = "https://api.openai.com/v1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment