diff --git a/chart/azimuth-ui.schema.yaml b/chart/azimuth-ui.schema.yaml index c31af4b..f0049f1 100644 --- a/chart/azimuth-ui.schema.yaml +++ b/chart/azimuth-ui.schema.yaml @@ -15,6 +15,8 @@ controls: # constrain to (optional) integer here. /api/modelMaxContextLength: type: IntegerControl + minimum: 100 + step: 100 required: false sortOrder: diff --git a/chart/templates/api/deployment.yml b/chart/templates/api/deployment.yml index 56007c8..6a3e9a7 100644 --- a/chart/templates/api/deployment.yml +++ b/chart/templates/api/deployment.yml @@ -31,7 +31,7 @@ spec: {{- include "azimuth-llm.chatTemplate" . | nindent 10 }} {{- if .Values.api.modelMaxContextLength -}} - --max-model-len - - {{ .Values.api.modelMaxContextLength }} + - {{ .Values.api.modelMaxContextLength | quote }} {{- end -}} {{- if .Values.api.extraArgs -}} {{- .Values.api.extraArgs | toYaml | nindent 10 }}