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
eecc7f35
"cacheflow/entrypoints/vscode:/vscode.git/clone" did not exist on "e38074b1e6ad0975acbfa15d858c4bd7cd005e99"
Unverified
Commit
eecc7f35
authored
Mar 25, 2024
by
Jannik S
Committed by
GitHub
Mar 25, 2024
Browse files
Deleted unused checks
parent
8962d948
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
backend/config.py
backend/config.py
+0
-12
No files found.
backend/config.py
View file @
eecc7f35
...
...
@@ -225,18 +225,6 @@ if ENV == "prod" and RUNNING_ON_K8S == "":
OLLAMA_BASE_URL
=
"http://ollama-service.open-webui.svc.cluster.local:11434"
def
is_running_in_kubernetes
():
return
'KUBERNETES_SERVICE_HOST'
in
os
.
environ
# Setze EMV auf True, wenn in Kubernetes
if
is_running_in_kubernetes
():
os
.
environ
[
'EMV'
]
=
'True'
print
(
"Läuft in Kubernetes, EMV gesetzt auf True."
)
else
:
print
(
"Läuft nicht in Kubernetes."
)
OLLAMA_BASE_URLS
=
os
.
environ
.
get
(
"OLLAMA_BASE_URLS"
,
""
)
OLLAMA_BASE_URLS
=
OLLAMA_BASE_URLS
if
OLLAMA_BASE_URLS
!=
""
else
OLLAMA_BASE_URL
...
...
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