Updates the Helm chart configuration for LLM agent service settings 61/14961/5
authorinahwangg <ina@offina.ai>
Sun, 21 Sep 2025 18:53:51 +0000 (03:53 +0900)
committeroffina <ina@offina.ai>
Sat, 27 Sep 2025 03:48:40 +0000 (12:48 +0900)
Enable AIMLFW to read the user's path and related agent settings via
environment variables, with optional overrides from the recipe file.

Issue-ID: AIMLFW-254

Change-Id: I3b80c67f0f99fe4ed6747cf846d6f90c8d87ef82
Signed-off-by: offina <ina@offina.ai>
helm/tm/templates/configmap.yaml
helm/tm/values.yaml

index 4efcde5..3197d19 100644 (file)
@@ -1,6 +1,6 @@
 # ==================================================================================
 #
-#       Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+#       Copyright (c) 2025 Samsung Electronics Co., Ltd. All Rights Reserved.
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -15,8 +15,8 @@
 #   limitations under the License.
 #
 # ==================================================================================
-kind: ConfigMap 
-apiVersion: v1 
+kind: ConfigMap
+apiVersion: v1
 metadata:
   name: tm-configmap
   namespace: {{ include "common.namespace.platform" . }}
@@ -36,3 +36,7 @@ data:
   PYTHONUNBUFFERED: "0"
   ACCESS_CONTROL_ALLOW_ORIGIN: "*"
   PIPELINE: {{.Values.tm.pipelines | toJson | quote }}
+  {{- if .Values.tm.agent.enabled }}
+  LLM_AGENT_MODEL_FOR_TM: "{{ .Values.tm.agent.llm_model }}"
+  LLM_AGENT_MODEL_TOKEN_FOR_TM: "{{ .Values.tm.agent.llm_model_token }}"
+  {{- end }}
index 2c20eb8..c1b5db4 100644 (file)
@@ -1,6 +1,6 @@
 # ==================================================================================
 #
-#       Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
+#       Copyright (c) 2025 Samsung Electronics Co., Ltd. All Rights Reserved.
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -22,3 +22,9 @@ image:
   pullPolicy: IfNotPresent
   # Overrides the image tag whose default is the chart appVersion.
   tag: "latest"
+
+agent:
+  enabled: false
+  # The feature is disabled
+  llm_model: ""
+  llm_model_token: ""