agentscope-runtime 1.0.3__py3-none-any.whl → 1.0.4a1__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.
- agentscope_runtime/adapters/agentscope/stream.py +1 -2
- agentscope_runtime/engine/services/agent_state/redis_state_service.py +2 -2
- agentscope_runtime/engine/services/memory/redis_memory_service.py +2 -2
- agentscope_runtime/engine/services/session_history/redis_session_history_service.py +2 -2
- agentscope_runtime/version.py +1 -1
- {agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/METADATA +1 -1
- {agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/RECORD +11 -11
- {agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/WHEEL +0 -0
- {agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/entry_points.txt +0 -0
- {agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/licenses/LICENSE +0 -0
- {agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/top_level.txt +0 -0
|
@@ -97,10 +97,9 @@ async def adapt_agentscope_message_stream(
|
|
|
97
97
|
else:
|
|
98
98
|
new_tool_blocks.append(block)
|
|
99
99
|
if new_tool_blocks:
|
|
100
|
-
if tool_start:
|
|
100
|
+
if tool_start: # Only for close the last msg
|
|
101
101
|
msg.content = new_tool_blocks
|
|
102
102
|
else:
|
|
103
|
-
msg.content = new_blocks
|
|
104
103
|
tool_start = True
|
|
105
104
|
|
|
106
105
|
else:
|
|
@@ -23,7 +23,7 @@ class RedisStateService(StateService):
|
|
|
23
23
|
redis_client: Optional[aioredis.Redis] = None,
|
|
24
24
|
socket_timeout: Optional[float] = 5.0,
|
|
25
25
|
socket_connect_timeout: Optional[float] = 5.0,
|
|
26
|
-
max_connections: Optional[int] =
|
|
26
|
+
max_connections: Optional[int] = None,
|
|
27
27
|
retry_on_timeout: bool = True,
|
|
28
28
|
ttl_seconds: Optional[int] = 3600, # 1 hour in seconds
|
|
29
29
|
health_check_interval: Optional[float] = 30.0,
|
|
@@ -39,7 +39,7 @@ class RedisStateService(StateService):
|
|
|
39
39
|
socket_connect_timeout: Socket connect timeout in seconds
|
|
40
40
|
(default: 5.0)
|
|
41
41
|
max_connections: Maximum number of connections in the pool
|
|
42
|
-
(default:
|
|
42
|
+
(default: None)
|
|
43
43
|
retry_on_timeout: Whether to retry on timeout (default: True)
|
|
44
44
|
ttl_seconds: Time-to-live in seconds for state data. If None,
|
|
45
45
|
data never expires (default: 3600, i.e., 1 hour)
|
|
@@ -19,7 +19,7 @@ class RedisMemoryService(MemoryService):
|
|
|
19
19
|
redis_client: Optional[aioredis.Redis] = None,
|
|
20
20
|
socket_timeout: Optional[float] = 5.0,
|
|
21
21
|
socket_connect_timeout: Optional[float] = 5.0,
|
|
22
|
-
max_connections: Optional[int] =
|
|
22
|
+
max_connections: Optional[int] = None,
|
|
23
23
|
retry_on_timeout: bool = True,
|
|
24
24
|
ttl_seconds: Optional[int] = 3600, # 1 hour in seconds
|
|
25
25
|
max_messages_per_session: Optional[int] = None,
|
|
@@ -36,7 +36,7 @@ class RedisMemoryService(MemoryService):
|
|
|
36
36
|
socket_connect_timeout: Socket connect timeout in seconds
|
|
37
37
|
(default: 5.0)
|
|
38
38
|
max_connections: Maximum number of connections in the pool
|
|
39
|
-
(default:
|
|
39
|
+
(default: None)
|
|
40
40
|
retry_on_timeout: Whether to retry on timeout (default: True)
|
|
41
41
|
ttl_seconds: Time-to-live in seconds for memory data.
|
|
42
42
|
If None, data never expires (default: 3600, i.e., 1 hour)
|
|
@@ -17,7 +17,7 @@ class RedisSessionHistoryService(SessionHistoryService):
|
|
|
17
17
|
redis_client: Optional[aioredis.Redis] = None,
|
|
18
18
|
socket_timeout: Optional[float] = 5.0,
|
|
19
19
|
socket_connect_timeout: Optional[float] = 5.0,
|
|
20
|
-
max_connections: Optional[int] =
|
|
20
|
+
max_connections: Optional[int] = None,
|
|
21
21
|
retry_on_timeout: bool = True,
|
|
22
22
|
ttl_seconds: Optional[int] = 3600, # 1 hour in seconds
|
|
23
23
|
max_messages_per_session: Optional[int] = None,
|
|
@@ -34,7 +34,7 @@ class RedisSessionHistoryService(SessionHistoryService):
|
|
|
34
34
|
socket_connect_timeout: Socket connect timeout in seconds
|
|
35
35
|
(default: 5.0)
|
|
36
36
|
max_connections: Maximum number of connections in the pool
|
|
37
|
-
(default:
|
|
37
|
+
(default: None)
|
|
38
38
|
retry_on_timeout: Whether to retry on timeout (default: True)
|
|
39
39
|
ttl_seconds: Time-to-live in seconds for session data.
|
|
40
40
|
If None, data never expires (default: 3600, i.e., 1 hour)
|
agentscope_runtime/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
__version__ = "v1.0.
|
|
2
|
+
__version__ = "v1.0.4a1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentscope-runtime
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4a1
|
|
4
4
|
Summary: A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support.
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
agentscope_runtime/__init__.py,sha256=LMAUeUpPo2qzqh3zyZ-JJwc8GrsiT9b-yNhQMxlKmfE,84
|
|
2
|
-
agentscope_runtime/version.py,sha256=
|
|
2
|
+
agentscope_runtime/version.py,sha256=KJxLcwQwCbM7FlbQXfQOCw1C6ILW8NXd77m2ajm2w7o,49
|
|
3
3
|
agentscope_runtime/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
agentscope_runtime/adapters/agentscope/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
agentscope_runtime/adapters/agentscope/message.py,sha256=Bhb3V6TOv8s9uAhuZSl7uN728bFvnDzRYqejs0u_bNU,23057
|
|
6
|
-
agentscope_runtime/adapters/agentscope/stream.py,sha256=
|
|
6
|
+
agentscope_runtime/adapters/agentscope/stream.py,sha256=UqM5gbHZPrDeuJk6qzKCf8hKQ5zBQcziYcKuf7kC1aY,23167
|
|
7
7
|
agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py,sha256=Hg4ghENb8u49svojY_q89HEjKImvLjKMQwmL8Y3wGgE,135
|
|
8
8
|
agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py,sha256=dwUS6-xvn9g4VlVcHL89gCbHjdw-VWKEBNpVkmzUAgE,7873
|
|
9
9
|
agentscope_runtime/adapters/agentscope/memory/__init__.py,sha256=zqVxvsJv1t1mjJKdOjtP6dUGNOrc0LLwZx_yZCNq7Xs,137
|
|
@@ -124,14 +124,14 @@ agentscope_runtime/engine/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
124
124
|
agentscope_runtime/engine/services/base.py,sha256=g2hTc3ivj2MPjnsu5_09m6_MZ3KDHBfiYKu4F2pLA1I,2096
|
|
125
125
|
agentscope_runtime/engine/services/service_factory.py,sha256=LTLU6sxlaRL1GtBmXKvBxRD2E8eh2xla6XLVyFH_CFQ,3580
|
|
126
126
|
agentscope_runtime/engine/services/agent_state/__init__.py,sha256=zASW6ZxMbaVQ3bz85riQ8HF2svk1b8SUxlrPUVL03ng,571
|
|
127
|
-
agentscope_runtime/engine/services/agent_state/redis_state_service.py,sha256=
|
|
127
|
+
agentscope_runtime/engine/services/agent_state/redis_state_service.py,sha256=XjZ0y05Wkc0JoQEZevBhaC-eCvJxVKQZBoq21RLH1YM,5883
|
|
128
128
|
agentscope_runtime/engine/services/agent_state/state_service.py,sha256=Z7vaZidnU963ldkqCEPTt5MiE5IJGJq0YnMMn5sehQc,5302
|
|
129
129
|
agentscope_runtime/engine/services/agent_state/state_service_factory.py,sha256=Ze-smpoJXaQxZG4OuzCjQ9fPqfvoMM3xCT7-ZvYmU8I,1589
|
|
130
130
|
agentscope_runtime/engine/services/memory/__init__.py,sha256=KZTLEqUE8CdD5JcY01ZpHAhS54N9bwYD0wwUIgSD4cA,1094
|
|
131
131
|
agentscope_runtime/engine/services/memory/mem0_memory_service.py,sha256=jmiaFncOBAlx-plEcnz8ljck1Pwi0_czWBOSM7JIJnA,3694
|
|
132
132
|
agentscope_runtime/engine/services/memory/memory_service.py,sha256=QNNvG3ccUiWznQfKNTtSbYqqcuoA2IJW_9xmNb1KMQI,8591
|
|
133
133
|
agentscope_runtime/engine/services/memory/memory_service_factory.py,sha256=XLWriAldbRHHczcdzDK3tKaNfK5KrOYCNUUgeE5spbU,4031
|
|
134
|
-
agentscope_runtime/engine/services/memory/redis_memory_service.py,sha256=
|
|
134
|
+
agentscope_runtime/engine/services/memory/redis_memory_service.py,sha256=jV4sCmzwl_xQjKLXJac3UdqekbgOx7psJGMzGfT-FRg,10703
|
|
135
135
|
agentscope_runtime/engine/services/memory/reme_personal_memory_service.py,sha256=6wbCL5IRJG5GPQqFuy4yN-tARDG30CgKtJ--iKiUowQ,3007
|
|
136
136
|
agentscope_runtime/engine/services/memory/reme_task_memory_service.py,sha256=dLIhWfqKZEeXB1r7f8EKPftL2lk4f60TdlCNdQNolNk,330
|
|
137
137
|
agentscope_runtime/engine/services/memory/tablestore_memory_service.py,sha256=Pf1nyk5d5X7h8Iuy1e7ROCNlap9cmG--TFm7fZNUZ90,10335
|
|
@@ -139,7 +139,7 @@ agentscope_runtime/engine/services/sandbox/__init__.py,sha256=eaneUQzqUfWrfdtc8M
|
|
|
139
139
|
agentscope_runtime/engine/services/sandbox/sandbox_service.py,sha256=KwJ0FRKxaiAMHKc1w4O6wmLigI_wBmZcgSyMu3L4X1k,6559
|
|
140
140
|
agentscope_runtime/engine/services/sandbox/sandbox_service_factory.py,sha256=VMx-TeY4gghYU-CEY38M5Q9NoinfE05IfVq57Cu4X08,1595
|
|
141
141
|
agentscope_runtime/engine/services/session_history/__init__.py,sha256=iTKbWEulLK9TtyQJHl9euam6xSlbY-8yKo2vgNAJ8Qc,929
|
|
142
|
-
agentscope_runtime/engine/services/session_history/redis_session_history_service.py,sha256=
|
|
142
|
+
agentscope_runtime/engine/services/session_history/redis_session_history_service.py,sha256=c-ULzpQS8yAm1FReETkcUJWUMqookT4ZycUVBdMFCA8,10142
|
|
143
143
|
agentscope_runtime/engine/services/session_history/session_history_service.py,sha256=-UHa_OVC8TYPcZcATXE6-pTI0o5dtPwQoVpVi-OjwNE,8476
|
|
144
144
|
agentscope_runtime/engine/services/session_history/session_history_service_factory.py,sha256=r8Ro_IdRSzAN6iSHo5MzHSld5UGr-GuHmfIhwQ1iQMM,2307
|
|
145
145
|
agentscope_runtime/engine/services/session_history/tablestore_session_history_service.py,sha256=4PuUC7j7ZROD_cBTVMpmzgea410bnRy4oLu8H7cA2Xg,10160
|
|
@@ -270,9 +270,9 @@ agentscope_runtime/tools/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
270
270
|
agentscope_runtime/tools/utils/api_key_util.py,sha256=xIIUsvWgSt4etgYP7lS0WnqVIhZ-REzrBLwzAT-TrVI,1210
|
|
271
271
|
agentscope_runtime/tools/utils/crypto_utils.py,sha256=Wqq4cn3FHQge-2Q1zGSMUyKh4V4A2baiZm8ZNhMqhPo,3382
|
|
272
272
|
agentscope_runtime/tools/utils/mcp_util.py,sha256=n3GGKBEQPJ-fiNXdYnBx_90GVKWvm9eaNbR2G0q2lOw,905
|
|
273
|
-
agentscope_runtime-1.0.
|
|
274
|
-
agentscope_runtime-1.0.
|
|
275
|
-
agentscope_runtime-1.0.
|
|
276
|
-
agentscope_runtime-1.0.
|
|
277
|
-
agentscope_runtime-1.0.
|
|
278
|
-
agentscope_runtime-1.0.
|
|
273
|
+
agentscope_runtime-1.0.4a1.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
|
|
274
|
+
agentscope_runtime-1.0.4a1.dist-info/METADATA,sha256=0kMQHn9gjXHksEAsFqT0KVXyflX8bhfaiutw3CR0d8M,41662
|
|
275
|
+
agentscope_runtime-1.0.4a1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
276
|
+
agentscope_runtime-1.0.4a1.dist-info/entry_points.txt,sha256=Mpjpwe0A9lYNsFtWe_VeoGhtDVsKLIi6w9ZKzyhc17M,425
|
|
277
|
+
agentscope_runtime-1.0.4a1.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
|
|
278
|
+
agentscope_runtime-1.0.4a1.dist-info/RECORD,,
|
|
File without changes
|
{agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{agentscope_runtime-1.0.3.dist-info → agentscope_runtime-1.0.4a1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|