Skip to content

Commit

Permalink
fix: correct OPENAI_API_BASE_URL configuration logic
Browse files Browse the repository at this point in the history
  • Loading branch information
niv1612 committed Jan 19, 2025
1 parent 921af38 commit ebf2e37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/open-webui/templates/workload-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ spec:
value: "False"
{{- end }}
- name: "OPENAI_API_BASE_URL"
{{- if .Values.pipelines.enabled }}
value: {{ include "pipelines.serviceEndpoint" . }}
{{- else if .Values.openaiBaseApiUrl }}
{{- if .Values.openaiBaseApiUrl }}
value: {{ .Values.openaiBaseApiUrl | quote }}
{{- else if .Values.pipelines.enabled }}
value: {{ include "pipelines.serviceEndpoint" . }}
{{- end }}
{{- if .Values.extraEnvVars }}
{{- toYaml .Values.extraEnvVars | nindent 8 }}
Expand Down

0 comments on commit ebf2e37

Please sign in to comment.