|
1 | 1 | import os |
2 | | -import subprocess |
3 | 2 | import tempfile |
4 | | -from pathlib import Path |
| 3 | +import subprocess |
5 | 4 | from typing import Any |
| 5 | +from pathlib import Path |
6 | 6 |
|
7 | 7 | import yaml |
8 | | -from pydantic import BaseModel, Field |
| 8 | +from pydantic import Field, BaseModel |
9 | 9 | from rich.console import Console |
10 | 10 |
|
11 | | -from agentex.lib.cli.utils.exceptions import DeploymentError, HelmError |
12 | | -from agentex.lib.sdk.config.environment_config import AgentEnvironmentConfig |
13 | | -from agentex.lib.cli.utils.kubectl_utils import check_and_switch_cluster_context |
14 | | -from agentex.lib.cli.utils.path_utils import calculate_docker_acp_module, PathResolutionError |
| 11 | +from agentex.lib.utils.logging import make_logger |
| 12 | +from agentex.lib.cli.utils.exceptions import HelmError, DeploymentError |
| 13 | +from agentex.lib.cli.utils.path_utils import PathResolutionError, calculate_docker_acp_module |
15 | 14 | from agentex.lib.environment_variables import EnvVarKeys |
| 15 | +from agentex.lib.cli.utils.kubectl_utils import check_and_switch_cluster_context |
16 | 16 | from agentex.lib.sdk.config.agent_config import AgentConfig |
17 | 17 | from agentex.lib.sdk.config.agent_manifest import AgentManifest |
18 | | - |
19 | | -from agentex.lib.utils.logging import make_logger |
| 18 | +from agentex.lib.sdk.config.environment_config import AgentEnvironmentConfig |
20 | 19 |
|
21 | 20 | logger = make_logger(__name__) |
22 | 21 | console = Console() |
@@ -265,7 +264,7 @@ def merge_deployment_configs( |
265 | 264 | if not helm_overrides_command: |
266 | 265 | add_acp_command_to_helm_values(helm_values, manifest, manifest_path) |
267 | 266 |
|
268 | | - print("Deploying with the following helm values: ", helm_values) |
| 267 | + console.print("Deploying with the following helm values: ", helm_values) |
269 | 268 | return helm_values |
270 | 269 |
|
271 | 270 |
|
|
0 commit comments