From 7c99abc0daf53ee2ac62b64f7e71e0697028bfe2 Mon Sep 17 00:00:00 2001 From: Stas Moreinis Date: Mon, 22 Sep 2025 15:42:14 -0700 Subject: [PATCH] Update deploy_handlers.py --- src/agentex/lib/cli/handlers/deploy_handlers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/agentex/lib/cli/handlers/deploy_handlers.py b/src/agentex/lib/cli/handlers/deploy_handlers.py index c7c4844c..ea64a040 100644 --- a/src/agentex/lib/cli/handlers/deploy_handlers.py +++ b/src/agentex/lib/cli/handlers/deploy_handlers.py @@ -260,8 +260,10 @@ def merge_deployment_configs( helm_values["global"]["imagePullSecrets"] = pull_secrets helm_values["imagePullSecrets"] = pull_secrets - # Add dynamic ACP command based on manifest configuration - add_acp_command_to_helm_values(helm_values, manifest, manifest_path) + # Add dynamic ACP command based on manifest configuration if command is not set in helm overrides + helm_overrides_command = agent_env_config and agent_env_config.helm_overrides and "command" in agent_env_config.helm_overrides + if not helm_overrides_command: + add_acp_command_to_helm_values(helm_values, manifest, manifest_path) print("Deploying with the following helm values: ", helm_values) return helm_values