|
11 | 11 | from rich.console import Console |
12 | 12 |
|
13 | 13 | from agentex.lib.utils.logging import make_logger |
14 | | -from agentex.lib.constants.ports import ACP_SERVER_PORT |
15 | 14 | from agentex.lib.cli.utils.exceptions import HelmError, DeploymentError |
16 | 15 | from agentex.lib.cli.utils.path_utils import PathResolutionError, calculate_docker_acp_module |
17 | 16 | from agentex.lib.environment_variables import EnvVarKeys |
@@ -240,12 +239,12 @@ def add_acp_command_to_helm_values(helm_values: dict[str, Any], manifest: AgentM |
240 | 239 | try: |
241 | 240 | docker_acp_module = calculate_docker_acp_module(manifest, manifest_path) |
242 | 241 | # Create the uvicorn command with the correct module path |
243 | | - helm_values["command"] = ["uvicorn", f"{docker_acp_module}:acp", "--host", "0.0.0.0", "--port", str(ACP_SERVER_PORT)] |
| 242 | + helm_values["command"] = ["uvicorn", f"{docker_acp_module}:acp", "--host", "0.0.0.0", "--port", "8000"] |
244 | 243 | logger.info(f"Using dynamic ACP command: uvicorn {docker_acp_module}:acp") |
245 | 244 | except (PathResolutionError, Exception) as e: |
246 | 245 | # Fallback to default command structure |
247 | 246 | logger.warning(f"Could not calculate dynamic ACP module ({e}), using default: project.acp") |
248 | | - helm_values["command"] = ["uvicorn", "project.acp:acp", "--host", "0.0.0.0", "--port", str(ACP_SERVER_PORT)] |
| 247 | + helm_values["command"] = ["uvicorn", "project.acp:acp", "--host", "0.0.0.0", "--port", "8000"] |
249 | 248 |
|
250 | 249 |
|
251 | 250 | def merge_deployment_configs( |
|
0 commit comments