alibabacloud-agentrun20250910 5.3.3__py3-none-any.whl → 5.3.5__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/models/__init__.py +2 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_input.py +8 -0
- alibabacloud_agentrun20250910/models/_vector_store_config.py +86 -0
- {alibabacloud_agentrun20250910-5.3.3.dist-info → alibabacloud_agentrun20250910-5.3.5.dist-info}/METADATA +1 -1
- {alibabacloud_agentrun20250910-5.3.3.dist-info → alibabacloud_agentrun20250910-5.3.5.dist-info}/RECORD +9 -9
- {alibabacloud_agentrun20250910-5.3.3.dist-info → alibabacloud_agentrun20250910-5.3.5.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-5.3.3.dist-info → alibabacloud_agentrun20250910-5.3.5.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-5.3.3.dist-info → alibabacloud_agentrun20250910-5.3.5.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '5.3.
|
|
1
|
+
__version__ = '5.3.5'
|
|
@@ -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
|
|
@@ -11,12 +11,14 @@ class CreateSandboxInput(DaraModel):
|
|
|
11
11
|
nas_config: main_models.NASConfig = None,
|
|
12
12
|
oss_mount_config: main_models.OSSMountConfig = None,
|
|
13
13
|
sandbox_id: str = None,
|
|
14
|
+
sandbox_idle_timeout_in_seconds: int = None,
|
|
14
15
|
sandbox_idle_timeout_seconds: int = None,
|
|
15
16
|
template_name: str = None,
|
|
16
17
|
):
|
|
17
18
|
self.nas_config = nas_config
|
|
18
19
|
self.oss_mount_config = oss_mount_config
|
|
19
20
|
self.sandbox_id = sandbox_id
|
|
21
|
+
self.sandbox_idle_timeout_in_seconds = sandbox_idle_timeout_in_seconds
|
|
20
22
|
# 沙箱空闲超时时间(秒)
|
|
21
23
|
self.sandbox_idle_timeout_seconds = sandbox_idle_timeout_seconds
|
|
22
24
|
# 模板名称(系统内部通过 templateName 查询 template_id)
|
|
@@ -44,6 +46,9 @@ class CreateSandboxInput(DaraModel):
|
|
|
44
46
|
if self.sandbox_id is not None:
|
|
45
47
|
result['sandboxId'] = self.sandbox_id
|
|
46
48
|
|
|
49
|
+
if self.sandbox_idle_timeout_in_seconds is not None:
|
|
50
|
+
result['sandboxIdleTimeoutInSeconds'] = self.sandbox_idle_timeout_in_seconds
|
|
51
|
+
|
|
47
52
|
if self.sandbox_idle_timeout_seconds is not None:
|
|
48
53
|
result['sandboxIdleTimeoutSeconds'] = self.sandbox_idle_timeout_seconds
|
|
49
54
|
|
|
@@ -65,6 +70,9 @@ class CreateSandboxInput(DaraModel):
|
|
|
65
70
|
if m.get('sandboxId') is not None:
|
|
66
71
|
self.sandbox_id = m.get('sandboxId')
|
|
67
72
|
|
|
73
|
+
if m.get('sandboxIdleTimeoutInSeconds') is not None:
|
|
74
|
+
self.sandbox_idle_timeout_in_seconds = m.get('sandboxIdleTimeoutInSeconds')
|
|
75
|
+
|
|
68
76
|
if m.get('sandboxIdleTimeoutSeconds') is not None:
|
|
69
77
|
self.sandbox_idle_timeout_seconds = m.get('sandboxIdleTimeoutSeconds')
|
|
70
78
|
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_agentrun20250910/__init__.py,sha256=
|
|
1
|
+
alibabacloud_agentrun20250910/__init__.py,sha256=EAPF6H2C2rTTNCwZhff6bD1ldMb0VdtIIKiGS8FRJzY,21
|
|
2
2
|
alibabacloud_agentrun20250910/client.py,sha256=vkZUSK88pi0o40L-GxtZQvbHgw8tRxWgjyO4aZNAcrE,175131
|
|
3
|
-
alibabacloud_agentrun20250910/models/__init__.py,sha256=
|
|
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
6
|
alibabacloud_agentrun20250910/models/_agent_runtime.py,sha256=DfMFD092Dx_QKfLuwTeJLATMntK527KVPbmUPwLDDSA,13047
|
|
@@ -76,7 +76,7 @@ alibabacloud_agentrun20250910/models/_create_model_proxy_response.py,sha256=bv1V
|
|
|
76
76
|
alibabacloud_agentrun20250910/models/_create_model_service_input.py,sha256=NhMEMpF4rZmoLSi8bS8WAmjb8ZKB-1FlInmUGYNueeI,3933
|
|
77
77
|
alibabacloud_agentrun20250910/models/_create_model_service_request.py,sha256=1AeXM0SswQRHpNFxT3avtHMorff29tUnSKRgVvFo5ao,949
|
|
78
78
|
alibabacloud_agentrun20250910/models/_create_model_service_response.py,sha256=b4Cy81D57OyZGwRn5W3oOsDzrDYaNAO_KXICUqLrMpA,1467
|
|
79
|
-
alibabacloud_agentrun20250910/models/_create_sandbox_input.py,sha256=
|
|
79
|
+
alibabacloud_agentrun20250910/models/_create_sandbox_input.py,sha256=KuJqJkIRA1TiiLDEv_0xjJ5hByvnV5TepijHJN5aPbI,3014
|
|
80
80
|
alibabacloud_agentrun20250910/models/_create_sandbox_request.py,sha256=yuQjKy12MrijpqaGk3c_r_Y4Ie-ysv1nw4sMXLTB_FQ,1066
|
|
81
81
|
alibabacloud_agentrun20250910/models/_create_sandbox_response.py,sha256=5lpXrvkv7zOyVettsiZ8jagqRWKYwyfc6tjOfM0THbU,1452
|
|
82
82
|
alibabacloud_agentrun20250910/models/_create_template_input.py,sha256=pzJw50TyvdUTjxeumvtNh9lnbqzykwuUprqcxA79H-8,8417
|
|
@@ -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.5.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
322
|
+
alibabacloud_agentrun20250910-5.3.5.dist-info/METADATA,sha256=FArb3hzF8I_w2vzC34XIQzp-AuWnBwAKRiH1QDSEYSw,2324
|
|
323
|
+
alibabacloud_agentrun20250910-5.3.5.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
324
|
+
alibabacloud_agentrun20250910-5.3.5.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
|
|
325
|
+
alibabacloud_agentrun20250910-5.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|