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
df298e10
Unverified
Commit
df298e10
authored
Mar 06, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Mar 06, 2024
Browse files
Merge pull request #1066 from open-webui/dev
refac: semicolon as delimiter
parents
92e21acb
0142c2de
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 @
df298e10
...
@@ -224,7 +224,7 @@ if OLLAMA_BASE_URL == "" and OLLAMA_API_BASE_URL != "":
...
@@ -224,7 +224,7 @@ if OLLAMA_BASE_URL == "" and OLLAMA_API_BASE_URL != "":
OLLAMA_BASE_URLS
=
os
.
environ
.
get
(
"OLLAMA_BASE_URLS"
,
""
)
OLLAMA_BASE_URLS
=
os
.
environ
.
get
(
"OLLAMA_BASE_URLS"
,
""
)
OLLAMA_BASE_URLS
=
OLLAMA_BASE_URLS
if
OLLAMA_BASE_URLS
!=
""
else
OLLAMA_BASE_URL
OLLAMA_BASE_URLS
=
OLLAMA_BASE_URLS
if
OLLAMA_BASE_URLS
!=
""
else
OLLAMA_BASE_URL
OLLAMA_BASE_URLS
=
[
url
.
strip
()
for
url
in
OLLAMA_BASE_URLS
.
split
(
"
,
"
)]
OLLAMA_BASE_URLS
=
[
url
.
strip
()
for
url
in
OLLAMA_BASE_URLS
.
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