Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
38321355
"src/lib/vscode:/vscode.git/clone" did not exist on "bc0a2a5d096ba603a609190dee0ff0e45d202ab3"
Commit
38321355
authored
Apr 20, 2024
by
Timothy J. Baek
Browse files
fix
parent
eefe0145
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
backend/config.py
backend/config.py
+8
-3
No files found.
backend/config.py
View file @
38321355
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment