Skip to content

Commit

Permalink
Allow to set OPENAI_API_BASE_URL manually
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjadr committed Jan 20, 2025
1 parent 921af38 commit eb466a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/open-webui/templates/workload-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ spec:
- name: "ENABLE_OLLAMA_API"
value: "False"
{{- end }}
- name: "OPENAI_API_BASE_URL"
{{- if .Values.pipelines.enabled }}
- name: "OPENAI_API_BASE_URL"
value: {{ include "pipelines.serviceEndpoint" . }}
{{- else if .Values.openaiBaseApiUrl }}
- name: "OPENAI_API_BASE_URL"
value: {{ .Values.openaiBaseApiUrl | quote }}
{{- end }}
{{- if .Values.extraEnvVars }}
Expand Down

0 comments on commit eb466a6

Please sign in to comment.