Skip to content

Commit 5259f20

Browse files
committed
fixing errors
1 parent f2e47c5 commit 5259f20

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/agentex/lib/cli/handlers/deploy_handlers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,9 @@ def deploy_agent(
292292
check_and_switch_cluster_context(cluster_name)
293293

294294
manifest = AgentManifest.from_yaml(file_path=manifest_path)
295-
agent_env_config = None
295+
296296
# Load agent environment configuration
297+
agent_env_config = None
297298
if environment_name:
298299
manifest_dir = Path(manifest_path).parent
299300
environments_config = manifest.load_environments_config(manifest_dir)

src/agentex/lib/sdk/config/environment_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from __future__ import annotations
99

10-
from typing import Any, Dict, override, List
10+
from typing import Any, Dict, List, override
1111
from pathlib import Path
1212

1313
import yaml

src/agentex/types/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
from .task_message_content_param import TaskMessageContentParam as TaskMessageContentParam
6363
from .tool_request_content_param import ToolRequestContentParam as ToolRequestContentParam
6464
from .tool_response_content_param import ToolResponseContentParam as ToolResponseContentParam
65-
from .deployment_history_list_params import DeploymentHistoryListParams as DeploymentHistoryListParams
66-
from .deployment_history_list_response import DeploymentHistoryListResponse as DeploymentHistoryListResponse
6765
from .task_retrieve_by_name_params import TaskRetrieveByNameParams as TaskRetrieveByNameParams
6866
from .message_list_paginated_params import MessageListPaginatedParams as MessageListPaginatedParams
67+
from .deployment_history_list_params import DeploymentHistoryListParams as DeploymentHistoryListParams
6968
from .task_retrieve_by_name_response import TaskRetrieveByNameResponse as TaskRetrieveByNameResponse
7069
from .message_list_paginated_response import MessageListPaginatedResponse as MessageListPaginatedResponse
70+
from .deployment_history_list_response import DeploymentHistoryListResponse as DeploymentHistoryListResponse

tests/lib/cli/test_environment_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
"""Tests for AgentEnvironmentsConfig."""
22

3-
import re
43
import tempfile
4+
55
import pytest
66

77
from agentex.lib.sdk.config.environment_config import (
8-
AgentEnvironmentsConfig,
9-
AgentEnvironmentConfig,
108
AgentAuthConfig,
119
AgentKubernetesConfig,
10+
AgentEnvironmentConfig,
11+
AgentEnvironmentsConfig,
1212
)
1313

1414

0 commit comments

Comments
 (0)