Skip to content

Commit 0533d53

Browse files
committed
fix condition on userPreferences.aiAssistant.useLegacyCompletionsEndpoint
1 parent d7f719f commit 0533d53

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

charts/library-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v2
22
name: library-chart
3-
version: 1.7.1
3+
version: 1.7.2
44
type: library

charts/library-chart/templates/_secret.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ stringData:
427427
{{- if .Values.userPreferences.aiAssistant.apiKey }}
428428
apiKey: {{ .Values.userPreferences.aiAssistant.apiKey | quote }}
429429
{{- end }}
430-
{{- if .Values.userPreferences.aiAssistant.useLegacyCompletionsEndpoint }}
430+
{{- if ne .Values.userPreferences.aiAssistant.useLegacyCompletionsEndpoint "" }}
431431
useLegacyCompletionsEndpoint: {{ .Values.userPreferences.aiAssistant.useLegacyCompletionsEndpoint }}
432432
{{- end }}
433433
context:

0 commit comments

Comments
 (0)