This commit is contained in:
Timothy J. Baek 2024-04-20 20:37:18 -05:00
parent eefe01454f
commit 38321355d3

View file

@ -322,9 +322,14 @@ OPENAI_API_BASE_URLS = [
] ]
OPENAI_API_KEY = "" OPENAI_API_KEY = ""
try:
OPENAI_API_KEY = OPENAI_API_KEYS[ OPENAI_API_KEY = OPENAI_API_KEYS[
OPENAI_API_BASE_URLS.index("https://api.openai.com/v1") OPENAI_API_BASE_URLS.index("https://api.openai.com/v1")
] ]
except:
pass
OPENAI_API_BASE_URL = "https://api.openai.com/v1" OPENAI_API_BASE_URL = "https://api.openai.com/v1"