mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 00:30:51 +00:00
commit
c533ed91f5
@ -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"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user