Merge pull request #84 from davizucon/main

FIX: ollama url and env vars when ollama.enabled=False
This commit is contained in:
James W. 2024-09-26 20:17:26 -06:00 committed by GitHub
commit bb0f668201
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2
name: open-webui
version: 3.1.18
appVersion: "0.3.23"
version: 3.1.19
appVersion: "0.3.24"
home: https://www.openwebui.com/
icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png

View File

@ -1,6 +1,6 @@
# open-webui
![Version: 3.1.9](https://img.shields.io/badge/Version-3.1.8-informational?style=flat-square) ![AppVersion: 0.3.13](https://img.shields.io/badge/AppVersion-0.3.13-informational?style=flat-square)
![Version: 3.1.19](https://img.shields.io/badge/Version-3.1.19-informational?style=flat-square) ![AppVersion: 0.3.13](https://img.shields.io/badge/AppVersion-0.3.13-informational?style=flat-square)
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋

View File

@ -73,8 +73,13 @@ spec:
- name: data
mountPath: /app/backend/data
env:
{{ if .Values.ollama.enabled }}
- name: OLLAMA_BASE_URLS
value: {{ include "ollamaBaseUrls" . | quote }}
{{ else }}
- name: ENABLE_OLLAMA_API
value: "False"
{{- end }}
{{ if .Values.pipelines.enabled }}
- name: OPENAI_API_BASE_URL
value: {{ include "pipelines.serviceEndpoint" . }}