alibabacloud-agentrun20250910 5.3.2__py3-none-any.whl → 5.3.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_agentrun20250910/__init__.py +1 -1
- alibabacloud_agentrun20250910/client.py +4 -0
- alibabacloud_agentrun20250910/models/__init__.py +2 -0
- alibabacloud_agentrun20250910/models/_agent_runtime.py +33 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py +33 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py +9 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py +33 -0
- alibabacloud_agentrun20250910/models/_vector_store_config.py +86 -0
- {alibabacloud_agentrun20250910-5.3.2.dist-info → alibabacloud_agentrun20250910-5.3.4.dist-info}/METADATA +1 -1
- {alibabacloud_agentrun20250910-5.3.2.dist-info → alibabacloud_agentrun20250910-5.3.4.dist-info}/RECORD +13 -13
- {alibabacloud_agentrun20250910-5.3.2.dist-info → alibabacloud_agentrun20250910-5.3.4.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-5.3.2.dist-info → alibabacloud_agentrun20250910-5.3.4.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-5.3.2.dist-info → alibabacloud_agentrun20250910-5.3.4.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '5.3.
|
|
1
|
+
__version__ = '5.3.4'
|
|
@@ -2845,6 +2845,8 @@ class Client(OpenApiClient):
|
|
|
2845
2845
|
query = {}
|
|
2846
2846
|
if not DaraCore.is_null(request.agent_runtime_name):
|
|
2847
2847
|
query['agentRuntimeName'] = request.agent_runtime_name
|
|
2848
|
+
if not DaraCore.is_null(request.discovery_resource_group_id):
|
|
2849
|
+
query['discoveryResourceGroupId'] = request.discovery_resource_group_id
|
|
2848
2850
|
if not DaraCore.is_null(request.page_number):
|
|
2849
2851
|
query['pageNumber'] = request.page_number
|
|
2850
2852
|
if not DaraCore.is_null(request.page_size):
|
|
@@ -2885,6 +2887,8 @@ class Client(OpenApiClient):
|
|
|
2885
2887
|
query = {}
|
|
2886
2888
|
if not DaraCore.is_null(request.agent_runtime_name):
|
|
2887
2889
|
query['agentRuntimeName'] = request.agent_runtime_name
|
|
2890
|
+
if not DaraCore.is_null(request.discovery_resource_group_id):
|
|
2891
|
+
query['discoveryResourceGroupId'] = request.discovery_resource_group_id
|
|
2888
2892
|
if not DaraCore.is_null(request.page_number):
|
|
2889
2893
|
query['pageNumber'] = request.page_number
|
|
2890
2894
|
if not DaraCore.is_null(request.page_size):
|
|
@@ -331,6 +331,7 @@ from ._proxy_config import ProxyConfigPolicies
|
|
|
331
331
|
from ._template import TemplateMcpOptions
|
|
332
332
|
from ._template import TemplateMcpState
|
|
333
333
|
from ._vector_store_config import VectorStoreConfigConfig
|
|
334
|
+
from ._vector_store_config import VectorStoreConfigMysqlConfig
|
|
334
335
|
from ._get_access_token_response_body import GetAccessTokenResponseBodyData
|
|
335
336
|
from ._list_model_providers_response_body import ListModelProvidersResponseBodyDataItems
|
|
336
337
|
from ._list_model_providers_response_body import ListModelProvidersResponseBodyData
|
|
@@ -665,6 +666,7 @@ __all__ = [
|
|
|
665
666
|
TemplateMcpOptions,
|
|
666
667
|
TemplateMcpState,
|
|
667
668
|
VectorStoreConfigConfig,
|
|
669
|
+
VectorStoreConfigMysqlConfig,
|
|
668
670
|
GetAccessTokenResponseBodyData,
|
|
669
671
|
ListModelProvidersResponseBodyDataItems,
|
|
670
672
|
ListModelProvidersResponseBodyData
|
|
@@ -23,11 +23,14 @@ class AgentRuntime(DaraModel):
|
|
|
23
23
|
description: str = None,
|
|
24
24
|
environment_variables: Dict[str, str] = None,
|
|
25
25
|
execution_role_arn: str = None,
|
|
26
|
+
external_agent_endpoint_url: str = None,
|
|
26
27
|
health_check_configuration: main_models.HealthCheckConfiguration = None,
|
|
27
28
|
last_updated_at: str = None,
|
|
28
29
|
log_configuration: main_models.LogConfiguration = None,
|
|
29
30
|
memory: int = None,
|
|
31
|
+
nas_config: main_models.NASConfig = None,
|
|
30
32
|
network_configuration: main_models.NetworkConfiguration = None,
|
|
33
|
+
oss_mount_config: main_models.OSSMountConfig = None,
|
|
31
34
|
port: int = None,
|
|
32
35
|
protocol_configuration: main_models.ProtocolConfiguration = None,
|
|
33
36
|
resource_group_id: str = None,
|
|
@@ -62,6 +65,8 @@ class AgentRuntime(DaraModel):
|
|
|
62
65
|
self.environment_variables = environment_variables
|
|
63
66
|
# 为智能体运行时提供访问云服务权限的执行角色ARN
|
|
64
67
|
self.execution_role_arn = execution_role_arn
|
|
68
|
+
# 外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务
|
|
69
|
+
self.external_agent_endpoint_url = external_agent_endpoint_url
|
|
65
70
|
# 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
|
|
66
71
|
self.health_check_configuration = health_check_configuration
|
|
67
72
|
# 智能体运行时最后一次更新的时间,采用ISO 8601格式
|
|
@@ -70,8 +75,12 @@ class AgentRuntime(DaraModel):
|
|
|
70
75
|
self.log_configuration = log_configuration
|
|
71
76
|
# 智能体运行时分配的内存资源,单位为MB
|
|
72
77
|
self.memory = memory
|
|
78
|
+
# 文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时
|
|
79
|
+
self.nas_config = nas_config
|
|
73
80
|
# 智能体运行时的网络配置信息
|
|
74
81
|
self.network_configuration = network_configuration
|
|
82
|
+
# 对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时
|
|
83
|
+
self.oss_mount_config = oss_mount_config
|
|
75
84
|
# 智能体运行时监听的端口号
|
|
76
85
|
self.port = port
|
|
77
86
|
# 智能体运行时的通信协议配置
|
|
@@ -95,8 +104,12 @@ class AgentRuntime(DaraModel):
|
|
|
95
104
|
self.health_check_configuration.validate()
|
|
96
105
|
if self.log_configuration:
|
|
97
106
|
self.log_configuration.validate()
|
|
107
|
+
if self.nas_config:
|
|
108
|
+
self.nas_config.validate()
|
|
98
109
|
if self.network_configuration:
|
|
99
110
|
self.network_configuration.validate()
|
|
111
|
+
if self.oss_mount_config:
|
|
112
|
+
self.oss_mount_config.validate()
|
|
100
113
|
if self.protocol_configuration:
|
|
101
114
|
self.protocol_configuration.validate()
|
|
102
115
|
|
|
@@ -144,6 +157,9 @@ class AgentRuntime(DaraModel):
|
|
|
144
157
|
if self.execution_role_arn is not None:
|
|
145
158
|
result['executionRoleArn'] = self.execution_role_arn
|
|
146
159
|
|
|
160
|
+
if self.external_agent_endpoint_url is not None:
|
|
161
|
+
result['externalAgentEndpointUrl'] = self.external_agent_endpoint_url
|
|
162
|
+
|
|
147
163
|
if self.health_check_configuration is not None:
|
|
148
164
|
result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
|
|
149
165
|
|
|
@@ -156,9 +172,15 @@ class AgentRuntime(DaraModel):
|
|
|
156
172
|
if self.memory is not None:
|
|
157
173
|
result['memory'] = self.memory
|
|
158
174
|
|
|
175
|
+
if self.nas_config is not None:
|
|
176
|
+
result['nasConfig'] = self.nas_config.to_map()
|
|
177
|
+
|
|
159
178
|
if self.network_configuration is not None:
|
|
160
179
|
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
161
180
|
|
|
181
|
+
if self.oss_mount_config is not None:
|
|
182
|
+
result['ossMountConfig'] = self.oss_mount_config.to_map()
|
|
183
|
+
|
|
162
184
|
if self.port is not None:
|
|
163
185
|
result['port'] = self.port
|
|
164
186
|
|
|
@@ -225,6 +247,9 @@ class AgentRuntime(DaraModel):
|
|
|
225
247
|
if m.get('executionRoleArn') is not None:
|
|
226
248
|
self.execution_role_arn = m.get('executionRoleArn')
|
|
227
249
|
|
|
250
|
+
if m.get('externalAgentEndpointUrl') is not None:
|
|
251
|
+
self.external_agent_endpoint_url = m.get('externalAgentEndpointUrl')
|
|
252
|
+
|
|
228
253
|
if m.get('healthCheckConfiguration') is not None:
|
|
229
254
|
temp_model = main_models.HealthCheckConfiguration()
|
|
230
255
|
self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
|
|
@@ -239,10 +264,18 @@ class AgentRuntime(DaraModel):
|
|
|
239
264
|
if m.get('memory') is not None:
|
|
240
265
|
self.memory = m.get('memory')
|
|
241
266
|
|
|
267
|
+
if m.get('nasConfig') is not None:
|
|
268
|
+
temp_model = main_models.NASConfig()
|
|
269
|
+
self.nas_config = temp_model.from_map(m.get('nasConfig'))
|
|
270
|
+
|
|
242
271
|
if m.get('networkConfiguration') is not None:
|
|
243
272
|
temp_model = main_models.NetworkConfiguration()
|
|
244
273
|
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
245
274
|
|
|
275
|
+
if m.get('ossMountConfig') is not None:
|
|
276
|
+
temp_model = main_models.OSSMountConfig()
|
|
277
|
+
self.oss_mount_config = temp_model.from_map(m.get('ossMountConfig'))
|
|
278
|
+
|
|
246
279
|
if m.get('port') is not None:
|
|
247
280
|
self.port = m.get('port')
|
|
248
281
|
|
|
@@ -20,10 +20,13 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
20
20
|
description: str = None,
|
|
21
21
|
environment_variables: Dict[str, str] = None,
|
|
22
22
|
execution_role_arn: str = None,
|
|
23
|
+
external_agent_endpoint_url: str = None,
|
|
23
24
|
health_check_configuration: main_models.HealthCheckConfiguration = None,
|
|
24
25
|
log_configuration: main_models.LogConfiguration = None,
|
|
25
26
|
memory: int = None,
|
|
27
|
+
nas_config: main_models.NASConfig = None,
|
|
26
28
|
network_configuration: main_models.NetworkConfiguration = None,
|
|
29
|
+
oss_mount_config: main_models.OSSMountConfig = None,
|
|
27
30
|
port: int = None,
|
|
28
31
|
protocol_configuration: main_models.ProtocolConfiguration = None,
|
|
29
32
|
resource_group_id: str = None,
|
|
@@ -56,6 +59,8 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
56
59
|
self.environment_variables = environment_variables
|
|
57
60
|
# 为智能体运行时提供访问云服务权限的执行角色ARN
|
|
58
61
|
self.execution_role_arn = execution_role_arn
|
|
62
|
+
# 外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务
|
|
63
|
+
self.external_agent_endpoint_url = external_agent_endpoint_url
|
|
59
64
|
# 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
|
|
60
65
|
self.health_check_configuration = health_check_configuration
|
|
61
66
|
# SLS(简单日志服务)配置
|
|
@@ -64,10 +69,14 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
64
69
|
#
|
|
65
70
|
# This parameter is required.
|
|
66
71
|
self.memory = memory
|
|
72
|
+
# 文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时
|
|
73
|
+
self.nas_config = nas_config
|
|
67
74
|
# 智能体运行时的网络配置,包括VPC、安全组等网络访问设置
|
|
68
75
|
#
|
|
69
76
|
# This parameter is required.
|
|
70
77
|
self.network_configuration = network_configuration
|
|
78
|
+
# 对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时
|
|
79
|
+
self.oss_mount_config = oss_mount_config
|
|
71
80
|
# 智能体运行时监听的端口号,用于接收外部请求
|
|
72
81
|
#
|
|
73
82
|
# This parameter is required.
|
|
@@ -89,8 +98,12 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
89
98
|
self.health_check_configuration.validate()
|
|
90
99
|
if self.log_configuration:
|
|
91
100
|
self.log_configuration.validate()
|
|
101
|
+
if self.nas_config:
|
|
102
|
+
self.nas_config.validate()
|
|
92
103
|
if self.network_configuration:
|
|
93
104
|
self.network_configuration.validate()
|
|
105
|
+
if self.oss_mount_config:
|
|
106
|
+
self.oss_mount_config.validate()
|
|
94
107
|
if self.protocol_configuration:
|
|
95
108
|
self.protocol_configuration.validate()
|
|
96
109
|
|
|
@@ -129,6 +142,9 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
129
142
|
if self.execution_role_arn is not None:
|
|
130
143
|
result['executionRoleArn'] = self.execution_role_arn
|
|
131
144
|
|
|
145
|
+
if self.external_agent_endpoint_url is not None:
|
|
146
|
+
result['externalAgentEndpointUrl'] = self.external_agent_endpoint_url
|
|
147
|
+
|
|
132
148
|
if self.health_check_configuration is not None:
|
|
133
149
|
result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
|
|
134
150
|
|
|
@@ -138,9 +154,15 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
138
154
|
if self.memory is not None:
|
|
139
155
|
result['memory'] = self.memory
|
|
140
156
|
|
|
157
|
+
if self.nas_config is not None:
|
|
158
|
+
result['nasConfig'] = self.nas_config.to_map()
|
|
159
|
+
|
|
141
160
|
if self.network_configuration is not None:
|
|
142
161
|
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
143
162
|
|
|
163
|
+
if self.oss_mount_config is not None:
|
|
164
|
+
result['ossMountConfig'] = self.oss_mount_config.to_map()
|
|
165
|
+
|
|
144
166
|
if self.port is not None:
|
|
145
167
|
result['port'] = self.port
|
|
146
168
|
|
|
@@ -192,6 +214,9 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
192
214
|
if m.get('executionRoleArn') is not None:
|
|
193
215
|
self.execution_role_arn = m.get('executionRoleArn')
|
|
194
216
|
|
|
217
|
+
if m.get('externalAgentEndpointUrl') is not None:
|
|
218
|
+
self.external_agent_endpoint_url = m.get('externalAgentEndpointUrl')
|
|
219
|
+
|
|
195
220
|
if m.get('healthCheckConfiguration') is not None:
|
|
196
221
|
temp_model = main_models.HealthCheckConfiguration()
|
|
197
222
|
self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
|
|
@@ -203,10 +228,18 @@ class CreateAgentRuntimeInput(DaraModel):
|
|
|
203
228
|
if m.get('memory') is not None:
|
|
204
229
|
self.memory = m.get('memory')
|
|
205
230
|
|
|
231
|
+
if m.get('nasConfig') is not None:
|
|
232
|
+
temp_model = main_models.NASConfig()
|
|
233
|
+
self.nas_config = temp_model.from_map(m.get('nasConfig'))
|
|
234
|
+
|
|
206
235
|
if m.get('networkConfiguration') is not None:
|
|
207
236
|
temp_model = main_models.NetworkConfiguration()
|
|
208
237
|
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
209
238
|
|
|
239
|
+
if m.get('ossMountConfig') is not None:
|
|
240
|
+
temp_model = main_models.OSSMountConfig()
|
|
241
|
+
self.oss_mount_config = temp_model.from_map(m.get('ossMountConfig'))
|
|
242
|
+
|
|
210
243
|
if m.get('port') is not None:
|
|
211
244
|
self.port = m.get('port')
|
|
212
245
|
|
|
@@ -8,6 +8,7 @@ class ListAgentRuntimesRequest(DaraModel):
|
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
10
|
agent_runtime_name: str = None,
|
|
11
|
+
discovery_resource_group_id: str = None,
|
|
11
12
|
page_number: int = None,
|
|
12
13
|
page_size: int = None,
|
|
13
14
|
resource_group_id: str = None,
|
|
@@ -16,6 +17,8 @@ class ListAgentRuntimesRequest(DaraModel):
|
|
|
16
17
|
):
|
|
17
18
|
# 根据智能体运行时名称进行模糊匹配过滤
|
|
18
19
|
self.agent_runtime_name = agent_runtime_name
|
|
20
|
+
# 用于服务发现的资源组标识符
|
|
21
|
+
self.discovery_resource_group_id = discovery_resource_group_id
|
|
19
22
|
# 当前页码,从1开始计数
|
|
20
23
|
self.page_number = page_number
|
|
21
24
|
# 每页返回的记录数量
|
|
@@ -37,6 +40,9 @@ class ListAgentRuntimesRequest(DaraModel):
|
|
|
37
40
|
if self.agent_runtime_name is not None:
|
|
38
41
|
result['agentRuntimeName'] = self.agent_runtime_name
|
|
39
42
|
|
|
43
|
+
if self.discovery_resource_group_id is not None:
|
|
44
|
+
result['discoveryResourceGroupId'] = self.discovery_resource_group_id
|
|
45
|
+
|
|
40
46
|
if self.page_number is not None:
|
|
41
47
|
result['pageNumber'] = self.page_number
|
|
42
48
|
|
|
@@ -59,6 +65,9 @@ class ListAgentRuntimesRequest(DaraModel):
|
|
|
59
65
|
if m.get('agentRuntimeName') is not None:
|
|
60
66
|
self.agent_runtime_name = m.get('agentRuntimeName')
|
|
61
67
|
|
|
68
|
+
if m.get('discoveryResourceGroupId') is not None:
|
|
69
|
+
self.discovery_resource_group_id = m.get('discoveryResourceGroupId')
|
|
70
|
+
|
|
62
71
|
if m.get('pageNumber') is not None:
|
|
63
72
|
self.page_number = m.get('pageNumber')
|
|
64
73
|
|
|
@@ -19,10 +19,13 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
19
19
|
description: str = None,
|
|
20
20
|
environment_variables: Dict[str, str] = None,
|
|
21
21
|
execution_role_arn: str = None,
|
|
22
|
+
external_agent_endpoint_url: str = None,
|
|
22
23
|
health_check_configuration: main_models.HealthCheckConfiguration = None,
|
|
23
24
|
log_configuration: main_models.LogConfiguration = None,
|
|
24
25
|
memory: int = None,
|
|
26
|
+
nas_config: main_models.NASConfig = None,
|
|
25
27
|
network_configuration: main_models.NetworkConfiguration = None,
|
|
28
|
+
oss_mount_config: main_models.OSSMountConfig = None,
|
|
26
29
|
port: int = None,
|
|
27
30
|
protocol_configuration: main_models.ProtocolConfiguration = None,
|
|
28
31
|
session_concurrency_limit_per_instance: int = None,
|
|
@@ -43,13 +46,19 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
43
46
|
self.environment_variables = environment_variables
|
|
44
47
|
# 为智能体运行时提供访问云服务权限的执行角色ARN
|
|
45
48
|
self.execution_role_arn = execution_role_arn
|
|
49
|
+
# 外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务
|
|
50
|
+
self.external_agent_endpoint_url = external_agent_endpoint_url
|
|
46
51
|
# 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
|
|
47
52
|
self.health_check_configuration = health_check_configuration
|
|
48
53
|
# SLS(简单日志服务)配置
|
|
49
54
|
self.log_configuration = log_configuration
|
|
50
55
|
self.memory = memory
|
|
56
|
+
# 文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时
|
|
57
|
+
self.nas_config = nas_config
|
|
51
58
|
# 智能体运行时的网络配置,包括VPC、安全组等网络访问设置
|
|
52
59
|
self.network_configuration = network_configuration
|
|
60
|
+
# 对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时
|
|
61
|
+
self.oss_mount_config = oss_mount_config
|
|
53
62
|
self.port = port
|
|
54
63
|
# 智能体运行时的通信协议配置,定义运行时如何与外部系统交互
|
|
55
64
|
self.protocol_configuration = protocol_configuration
|
|
@@ -67,8 +76,12 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
67
76
|
self.health_check_configuration.validate()
|
|
68
77
|
if self.log_configuration:
|
|
69
78
|
self.log_configuration.validate()
|
|
79
|
+
if self.nas_config:
|
|
80
|
+
self.nas_config.validate()
|
|
70
81
|
if self.network_configuration:
|
|
71
82
|
self.network_configuration.validate()
|
|
83
|
+
if self.oss_mount_config:
|
|
84
|
+
self.oss_mount_config.validate()
|
|
72
85
|
if self.protocol_configuration:
|
|
73
86
|
self.protocol_configuration.validate()
|
|
74
87
|
|
|
@@ -104,6 +117,9 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
104
117
|
if self.execution_role_arn is not None:
|
|
105
118
|
result['executionRoleArn'] = self.execution_role_arn
|
|
106
119
|
|
|
120
|
+
if self.external_agent_endpoint_url is not None:
|
|
121
|
+
result['externalAgentEndpointUrl'] = self.external_agent_endpoint_url
|
|
122
|
+
|
|
107
123
|
if self.health_check_configuration is not None:
|
|
108
124
|
result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
|
|
109
125
|
|
|
@@ -113,9 +129,15 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
113
129
|
if self.memory is not None:
|
|
114
130
|
result['memory'] = self.memory
|
|
115
131
|
|
|
132
|
+
if self.nas_config is not None:
|
|
133
|
+
result['nasConfig'] = self.nas_config.to_map()
|
|
134
|
+
|
|
116
135
|
if self.network_configuration is not None:
|
|
117
136
|
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
118
137
|
|
|
138
|
+
if self.oss_mount_config is not None:
|
|
139
|
+
result['ossMountConfig'] = self.oss_mount_config.to_map()
|
|
140
|
+
|
|
119
141
|
if self.port is not None:
|
|
120
142
|
result['port'] = self.port
|
|
121
143
|
|
|
@@ -161,6 +183,9 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
161
183
|
if m.get('executionRoleArn') is not None:
|
|
162
184
|
self.execution_role_arn = m.get('executionRoleArn')
|
|
163
185
|
|
|
186
|
+
if m.get('externalAgentEndpointUrl') is not None:
|
|
187
|
+
self.external_agent_endpoint_url = m.get('externalAgentEndpointUrl')
|
|
188
|
+
|
|
164
189
|
if m.get('healthCheckConfiguration') is not None:
|
|
165
190
|
temp_model = main_models.HealthCheckConfiguration()
|
|
166
191
|
self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
|
|
@@ -172,10 +197,18 @@ class UpdateAgentRuntimeInput(DaraModel):
|
|
|
172
197
|
if m.get('memory') is not None:
|
|
173
198
|
self.memory = m.get('memory')
|
|
174
199
|
|
|
200
|
+
if m.get('nasConfig') is not None:
|
|
201
|
+
temp_model = main_models.NASConfig()
|
|
202
|
+
self.nas_config = temp_model.from_map(m.get('nasConfig'))
|
|
203
|
+
|
|
175
204
|
if m.get('networkConfiguration') is not None:
|
|
176
205
|
temp_model = main_models.NetworkConfiguration()
|
|
177
206
|
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
178
207
|
|
|
208
|
+
if m.get('ossMountConfig') is not None:
|
|
209
|
+
temp_model = main_models.OSSMountConfig()
|
|
210
|
+
self.oss_mount_config = temp_model.from_map(m.get('ossMountConfig'))
|
|
211
|
+
|
|
179
212
|
if m.get('port') is not None:
|
|
180
213
|
self.port = m.get('port')
|
|
181
214
|
|
|
@@ -9,14 +9,18 @@ class VectorStoreConfig(DaraModel):
|
|
|
9
9
|
def __init__(
|
|
10
10
|
self,
|
|
11
11
|
config: main_models.VectorStoreConfigConfig = None,
|
|
12
|
+
mysql_config: main_models.VectorStoreConfigMysqlConfig = None,
|
|
12
13
|
provider: str = None,
|
|
13
14
|
):
|
|
14
15
|
self.config = config
|
|
16
|
+
self.mysql_config = mysql_config
|
|
15
17
|
self.provider = provider
|
|
16
18
|
|
|
17
19
|
def validate(self):
|
|
18
20
|
if self.config:
|
|
19
21
|
self.config.validate()
|
|
22
|
+
if self.mysql_config:
|
|
23
|
+
self.mysql_config.validate()
|
|
20
24
|
|
|
21
25
|
def to_map(self):
|
|
22
26
|
result = dict()
|
|
@@ -26,6 +30,9 @@ class VectorStoreConfig(DaraModel):
|
|
|
26
30
|
if self.config is not None:
|
|
27
31
|
result['config'] = self.config.to_map()
|
|
28
32
|
|
|
33
|
+
if self.mysql_config is not None:
|
|
34
|
+
result['mysqlConfig'] = self.mysql_config.to_map()
|
|
35
|
+
|
|
29
36
|
if self.provider is not None:
|
|
30
37
|
result['provider'] = self.provider
|
|
31
38
|
|
|
@@ -37,11 +44,90 @@ class VectorStoreConfig(DaraModel):
|
|
|
37
44
|
temp_model = main_models.VectorStoreConfigConfig()
|
|
38
45
|
self.config = temp_model.from_map(m.get('config'))
|
|
39
46
|
|
|
47
|
+
if m.get('mysqlConfig') is not None:
|
|
48
|
+
temp_model = main_models.VectorStoreConfigMysqlConfig()
|
|
49
|
+
self.mysql_config = temp_model.from_map(m.get('mysqlConfig'))
|
|
50
|
+
|
|
40
51
|
if m.get('provider') is not None:
|
|
41
52
|
self.provider = m.get('provider')
|
|
42
53
|
|
|
43
54
|
return self
|
|
44
55
|
|
|
56
|
+
class VectorStoreConfigMysqlConfig(DaraModel):
|
|
57
|
+
def __init__(
|
|
58
|
+
self,
|
|
59
|
+
collection_name: str = None,
|
|
60
|
+
credential_name: str = None,
|
|
61
|
+
db_name: str = None,
|
|
62
|
+
host: str = None,
|
|
63
|
+
port: int = None,
|
|
64
|
+
user: str = None,
|
|
65
|
+
vector_dimension: int = None,
|
|
66
|
+
):
|
|
67
|
+
self.collection_name = collection_name
|
|
68
|
+
self.credential_name = credential_name
|
|
69
|
+
self.db_name = db_name
|
|
70
|
+
self.host = host
|
|
71
|
+
self.port = port
|
|
72
|
+
self.user = user
|
|
73
|
+
self.vector_dimension = vector_dimension
|
|
74
|
+
|
|
75
|
+
def validate(self):
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
def to_map(self):
|
|
79
|
+
result = dict()
|
|
80
|
+
_map = super().to_map()
|
|
81
|
+
if _map is not None:
|
|
82
|
+
result = _map
|
|
83
|
+
if self.collection_name is not None:
|
|
84
|
+
result['collectionName'] = self.collection_name
|
|
85
|
+
|
|
86
|
+
if self.credential_name is not None:
|
|
87
|
+
result['credentialName'] = self.credential_name
|
|
88
|
+
|
|
89
|
+
if self.db_name is not None:
|
|
90
|
+
result['dbName'] = self.db_name
|
|
91
|
+
|
|
92
|
+
if self.host is not None:
|
|
93
|
+
result['host'] = self.host
|
|
94
|
+
|
|
95
|
+
if self.port is not None:
|
|
96
|
+
result['port'] = self.port
|
|
97
|
+
|
|
98
|
+
if self.user is not None:
|
|
99
|
+
result['user'] = self.user
|
|
100
|
+
|
|
101
|
+
if self.vector_dimension is not None:
|
|
102
|
+
result['vectorDimension'] = self.vector_dimension
|
|
103
|
+
|
|
104
|
+
return result
|
|
105
|
+
|
|
106
|
+
def from_map(self, m: dict = None):
|
|
107
|
+
m = m or dict()
|
|
108
|
+
if m.get('collectionName') is not None:
|
|
109
|
+
self.collection_name = m.get('collectionName')
|
|
110
|
+
|
|
111
|
+
if m.get('credentialName') is not None:
|
|
112
|
+
self.credential_name = m.get('credentialName')
|
|
113
|
+
|
|
114
|
+
if m.get('dbName') is not None:
|
|
115
|
+
self.db_name = m.get('dbName')
|
|
116
|
+
|
|
117
|
+
if m.get('host') is not None:
|
|
118
|
+
self.host = m.get('host')
|
|
119
|
+
|
|
120
|
+
if m.get('port') is not None:
|
|
121
|
+
self.port = m.get('port')
|
|
122
|
+
|
|
123
|
+
if m.get('user') is not None:
|
|
124
|
+
self.user = m.get('user')
|
|
125
|
+
|
|
126
|
+
if m.get('vectorDimension') is not None:
|
|
127
|
+
self.vector_dimension = m.get('vectorDimension')
|
|
128
|
+
|
|
129
|
+
return self
|
|
130
|
+
|
|
45
131
|
class VectorStoreConfigConfig(DaraModel):
|
|
46
132
|
def __init__(
|
|
47
133
|
self,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
alibabacloud_agentrun20250910/__init__.py,sha256=
|
|
2
|
-
alibabacloud_agentrun20250910/client.py,sha256=
|
|
3
|
-
alibabacloud_agentrun20250910/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_agentrun20250910/__init__.py,sha256=ghDXMbdoEot8zfT9flcBxH5nxJ3yGgtEwNzZHxXy4zI,21
|
|
2
|
+
alibabacloud_agentrun20250910/client.py,sha256=vkZUSK88pi0o40L-GxtZQvbHgw8tRxWgjyO4aZNAcrE,175131
|
|
3
|
+
alibabacloud_agentrun20250910/models/__init__.py,sha256=9E6JW6xxlZvamzsHqJ_e3qw1YHlhzB8wh7x9utTn0Oo,29274
|
|
4
4
|
alibabacloud_agentrun20250910/models/_activate_template_mcprequest.py,sha256=ERcrdYR0QD2PcPL84J75TlMAWVy9GHWKZoEiM0vXUPU,1075
|
|
5
5
|
alibabacloud_agentrun20250910/models/_activate_template_mcpresponse.py,sha256=d9dd1zzMWbrKqWNPbRBFSpVm-f3nzR_f5x5hp9oFI0I,1460
|
|
6
|
-
alibabacloud_agentrun20250910/models/_agent_runtime.py,sha256=
|
|
6
|
+
alibabacloud_agentrun20250910/models/_agent_runtime.py,sha256=DfMFD092Dx_QKfLuwTeJLATMntK527KVPbmUPwLDDSA,13047
|
|
7
7
|
alibabacloud_agentrun20250910/models/_agent_runtime_endpoint.py,sha256=VlxB16htiN_48WPcEQi807nTDxAzmVpOco3i7llyy_E,4120
|
|
8
8
|
alibabacloud_agentrun20250910/models/_agent_runtime_endpoint_result.py,sha256=5q6NuKbTswBCuVfFhF0aZjaUe0Hrkvs7AE7qGqSaQ0A,1645
|
|
9
9
|
alibabacloud_agentrun20250910/models/_agent_runtime_result.py,sha256=-lVQV0KnoWJEmVyWO7QnlsFWpgnLzTmvEf9asdL7l7w,1615
|
|
@@ -42,7 +42,7 @@ alibabacloud_agentrun20250910/models/_container_configuration.py,sha256=zbERBSh5
|
|
|
42
42
|
alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_input.py,sha256=dEyw_HeSPunKarZxqPao1QzZhtjLJkLrlP_UVu7GyjY,2211
|
|
43
43
|
alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_request.py,sha256=6AAgJhnhdqrB0mCuLWYT62N-YWuoRO5ZqtUm194iC_A,1099
|
|
44
44
|
alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_response.py,sha256=XDwGoTaBCBgPV3uojhpmPSJekLdew_8wwHcV6IyENjA,1491
|
|
45
|
-
alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py,sha256=
|
|
45
|
+
alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py,sha256=tMtEdIu0veiZ2xg1EVgIHh9BTrTGtB0on_YW-cdmCX4,11486
|
|
46
46
|
alibabacloud_agentrun20250910/models/_create_agent_runtime_request.py,sha256=AdHJk1-TbCjFQ6T-Qtsn7sQoBWLNeE9VlCi71pZQj5g,1132
|
|
47
47
|
alibabacloud_agentrun20250910/models/_create_agent_runtime_response.py,sha256=OFurOl3H-aBZiOXdY2wBQlw7asOJKTlugcVtoRmR_6I,1467
|
|
48
48
|
alibabacloud_agentrun20250910/models/_create_agent_runtime_version_input.py,sha256=q7iyH2DyzF6t7ce1F9cBohneKdf-a3CFu_r24LnmOKM,809
|
|
@@ -158,7 +158,7 @@ alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_response.py,sh
|
|
|
158
158
|
alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_result.py,sha256=CFQezgZX5JTCNi-Jd08vzJ6uB3aU6q8ME3BKPbfK9d4,1675
|
|
159
159
|
alibabacloud_agentrun20250910/models/_list_agent_runtimes_input.py,sha256=C4WA6FPKRsxICp1c8VdFgwWzUPyPFk3DZgEzegS0unI,1705
|
|
160
160
|
alibabacloud_agentrun20250910/models/_list_agent_runtimes_output.py,sha256=_bK7LIV0axsM1FenWwpM0DFh89cSjUAMwYs6-JgJggw,1887
|
|
161
|
-
alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py,sha256=
|
|
161
|
+
alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py,sha256=smWKF9ipgaunwqVCq1b1VkmBcTI6_5F_VXFVkBfJliY,2878
|
|
162
162
|
alibabacloud_agentrun20250910/models/_list_agent_runtimes_response.py,sha256=6FAsVFFp1To-XUgKPTxcQjdjJ4UTRGf4Nvsjb5p3GGk,1476
|
|
163
163
|
alibabacloud_agentrun20250910/models/_list_agent_runtimes_result.py,sha256=gpgqqxd8EcaxQU_8Rcbkf41_CsLsMotXmx9kEQWSYIo,1648
|
|
164
164
|
alibabacloud_agentrun20250910/models/_list_browser_session_result.py,sha256=l9H1ej5_orsuaScpF8EjinhEyMv3kSFeKYuM6H9gsRU,1539
|
|
@@ -283,7 +283,7 @@ alibabacloud_agentrun20250910/models/_trigger_config.py,sha256=CMX6Yl5x-HLobnqP4
|
|
|
283
283
|
alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_input.py,sha256=HPR8R2axqxw6GAB1mSMey1OAdhbBKnU8y9zeXHZARUs,2211
|
|
284
284
|
alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_request.py,sha256=ZSy86DcU33dh67ti8JW817VrGpO7qzhxAdgL-gXa29o,1099
|
|
285
285
|
alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_response.py,sha256=Sj9rTANIf3JpfNfgZnpBAJnf5lWkSTSs2h4xJ7KtO3g,1491
|
|
286
|
-
alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py,sha256=
|
|
286
|
+
alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py,sha256=bb-FBfu8tGRGkbkCOnwhCi7nRrBpdDcalsudN7BuJM4,10027
|
|
287
287
|
alibabacloud_agentrun20250910/models/_update_agent_runtime_request.py,sha256=91Qx2INQdOCo5zQuFP98r8VSqaf1c34CseJqpummkeY,1069
|
|
288
288
|
alibabacloud_agentrun20250910/models/_update_agent_runtime_response.py,sha256=5wvKzFxRYMU39g-mz3m3tcBIrBtSjoxlIiZYRKZ0aco,1467
|
|
289
289
|
alibabacloud_agentrun20250910/models/_update_apig_llmmodel_input.py,sha256=YM6sJMj71vwch1MSfM-tWMNknJ3IEu90vAOoA_ceeM8,2064
|
|
@@ -315,11 +315,11 @@ alibabacloud_agentrun20250910/models/_update_template_response.py,sha256=q5w77jL
|
|
|
315
315
|
alibabacloud_agentrun20250910/models/_update_tool_data.py,sha256=sxTitPzTXhtlb8Lo4o2x29-YHhRWnmCOvfm005UP0_E,1650
|
|
316
316
|
alibabacloud_agentrun20250910/models/_update_tool_input.py,sha256=dqUmuI3Ca5u8I-7bYBv0K9uj5Fvp0KkEGMtrb-J7sZk,1193
|
|
317
317
|
alibabacloud_agentrun20250910/models/_update_tool_output.py,sha256=8Qy6IF4Tv61KCH1K82YxUhqQT7HfWzwTPfPsvhdMKjk,1381
|
|
318
|
-
alibabacloud_agentrun20250910/models/_vector_store_config.py,sha256=
|
|
318
|
+
alibabacloud_agentrun20250910/models/_vector_store_config.py,sha256=Fbw4eUaIA0TR-ALPEBs6IWSRXHyFCrEO7Z2gzDfk-ug,5263
|
|
319
319
|
alibabacloud_agentrun20250910/models/_version_weight.py,sha256=b8Q6LkLBbwREUz5u4gksWiZJOR3KnwvQnmGKZmBRhfE,1035
|
|
320
320
|
alibabacloud_agentrun20250910/models/_view_port_configuration.py,sha256=9OJd_njOHJISm9XTCXbpPTw78eKbcn0h8NPI_51KqgI,1115
|
|
321
|
-
alibabacloud_agentrun20250910-5.3.
|
|
322
|
-
alibabacloud_agentrun20250910-5.3.
|
|
323
|
-
alibabacloud_agentrun20250910-5.3.
|
|
324
|
-
alibabacloud_agentrun20250910-5.3.
|
|
325
|
-
alibabacloud_agentrun20250910-5.3.
|
|
321
|
+
alibabacloud_agentrun20250910-5.3.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
322
|
+
alibabacloud_agentrun20250910-5.3.4.dist-info/METADATA,sha256=mbZ1jHwjsbgWKc0XunIsb7G7AgzNzkKj8ReT6bbr_Sg,2324
|
|
323
|
+
alibabacloud_agentrun20250910-5.3.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
324
|
+
alibabacloud_agentrun20250910-5.3.4.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
|
|
325
|
+
alibabacloud_agentrun20250910-5.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|