You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agentkit/toolkit/config/config.py
+17-18Lines changed: 17 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,13 @@ class CommonConfig(AutoSerializableMixin):
42
42
entry_point: str=field(
43
43
default="",
44
44
metadata={
45
-
"description": "Agent application entry file (path allowed), e.g. simple_agent.py",
45
+
"description": "Agent application entry file (path allowed), e.g. simple_agent.py or main.go or build.sh",
46
46
"icon": "📝",
47
47
"validation": {
48
48
"required": True,
49
49
# allow relative paths with directories and either .py or .go endings
50
-
"pattern": r"^[\w\-/\.]+?\.(py)$",
51
-
"message": "Must be a Python (.py), containing only letters, numbers, underscore(_), hyphen(-), dot(.) and '/' for directories"
50
+
"pattern": r"^[\w\-/\.]+?\.(py|go|sh)$",
51
+
"message": "Must be a Python (.py) or Go (.go) file path or shell script (.sh), containing only letters, numbers, underscore(_), hyphen(-), dot(.) and '/' for directories"
52
52
}
53
53
}
54
54
)
@@ -58,7 +58,7 @@ class CommonConfig(AutoSerializableMixin):
@@ -33,7 +33,7 @@ class LocalDockerConfig(AutoSerializableMixin):
33
33
}
34
34
)
35
35
_config_metadata= {
36
-
'name': 'Local Docker Configuration',
36
+
'name': 'Local Strategy Configuration',
37
37
'welcome_message': 'Welcome to AgentKit Local Docker Mode Configuration Wizard',
38
38
'next_step_hint': 'This wizard will help you configure your agent for local Docker deployment. Please provide the required information or press Enter to use default values.',
39
39
'completion_message': 'Great! Local Docker configuration is complete!',
@@ -42,7 +42,7 @@ class LocalDockerConfig(AutoSerializableMixin):
@@ -77,7 +77,7 @@ class HybridVeAgentkitConfig(AutoSerializableMixin):
77
77
}
78
78
)
79
79
_config_metadata= {
80
-
'name': 'Hybrid Deployment Configuration',
80
+
'name': 'Hybrid Strategy Configuration',
81
81
'welcome_message': 'Welcome to AgentKit Hybrid Deployment Mode Configuration Wizard',
82
82
'next_step_hint': 'This wizard will help you configure your agent for hybrid deployment combining local Docker and Volcano Engine services. Please provide the required information or press Enter to use default values.',
83
83
'completion_message': 'Great! Hybrid deployment configuration is complete!',
@@ -87,7 +87,7 @@ class HybridVeAgentkitConfig(AutoSerializableMixin):
87
87
88
88
89
89
@dataclass
90
-
classVeAgentkitConfig(AutoSerializableMixin):
90
+
classCloudStrategyConfig(AutoSerializableMixin):
91
91
"""Cloud build and deployment strategy configuration for Volcano Engine."""
0 commit comments