Skip to content

Commit 79e2e9a

Browse files
committed
fix condition on userPreferences.aiAssistant.useLegacyCompletionsEndpoint
1 parent 0bd8100 commit 79e2e9a

2 files changed

Lines changed: 2 additions & 4 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.2
3+
version: 1.7.3
44
type: library

charts/library-chart/templates/_secret.tpl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,7 @@ stringData:
427427
{{- if .Values.userPreferences.aiAssistant.apiKey }}
428428
apiKey: {{ .Values.userPreferences.aiAssistant.apiKey | quote }}
429429
{{- end }}
430-
{{- if ne .Values.userPreferences.aiAssistant.useLegacyCompletionsEndpoint "" }}
431-
useLegacyCompletionsEndpoint: {{ .Values.userPreferences.aiAssistant.useLegacyCompletionsEndpoint }}
432-
{{- end }}
430+
useLegacyCompletionsEndpoint: {{ .Values.userPreferences.aiAssistant.useLegacyCompletionsEndpoint | default false }}
433431
context:
434432
- provider: problems
435433
- provider: debugger

0 commit comments

Comments
 (0)