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
9235864f
"tools/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "3ee096175b1a40947eb9b2c08524a521652d6d0e"
Commit
9235864f
authored
Mar 09, 2024
by
Roberto Gudelj
Browse files
fix: parsing of OPENAI_API_BASE_URLS env var
parent
04ddbf43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/config.py
backend/config.py
+1
-1
No files found.
backend/config.py
View file @
9235864f
...
@@ -251,7 +251,7 @@ OPENAI_API_BASE_URLS = (
...
@@ -251,7 +251,7 @@ OPENAI_API_BASE_URLS = (
OPENAI_API_BASE_URLS
if
OPENAI_API_BASE_URLS
!=
""
else
OPENAI_API_BASE_URL
OPENAI_API_BASE_URLS
if
OPENAI_API_BASE_URLS
!=
""
else
OPENAI_API_BASE_URL
)
)
OPENAI_API_BASE_URLS
=
[
url
.
strip
()
for
url
in
OPENAI_API_BASE_URL
.
split
(
";"
)]
OPENAI_API_BASE_URLS
=
[
url
.
strip
()
for
url
in
OPENAI_API_BASE_URL
S
.
split
(
";"
)]
####################################
####################################
...
...
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