From 4f126a947c7fd69ec8329d5becc8aad7fd4741b9 Mon Sep 17 00:00:00 2001 From: sd109 Date: Fri, 12 Jul 2024 11:21:46 +0100 Subject: [PATCH] Bug fixes --- chart/azimuth-ui.schema.yaml | 2 ++ chart/templates/api/deployment.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 }}