Unverified Commit c533ed91 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1634 from open-webui/dev

fix
parents 22c50f62 38321355
...@@ -322,9 +322,14 @@ OPENAI_API_BASE_URLS = [ ...@@ -322,9 +322,14 @@ OPENAI_API_BASE_URLS = [
] ]
OPENAI_API_KEY = "" OPENAI_API_KEY = ""
OPENAI_API_KEY = OPENAI_API_KEYS[
try:
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"
......
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