meshagent-agents 0.5.4__py3-none-any.whl → 0.5.6__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.

Potentially problematic release.


This version of meshagent-agents might be problematic. Click here for more details.

meshagent/agents/chat.py CHANGED
@@ -53,6 +53,7 @@ class ChatBotThreadLocalShellTool(LocalShellTool):
53
53
  for prop in self.thread_context.thread.root.get_children():
54
54
  if prop.tag_name == "messages":
55
55
  messages = prop
56
+ break
56
57
 
57
58
  exec_element = messages.append_child(
58
59
  tag_name="exec",
@@ -136,6 +137,7 @@ class ChatBotThreadOpenAIImageGenerationTool(ImageGenerationTool):
136
137
  for prop in self.thread_context.thread.root.get_children():
137
138
  if prop.tag_name == "messages":
138
139
  messages = prop
140
+ break
139
141
 
140
142
  for child in messages.get_children():
141
143
  if child.get_attribute("id") == item_id:
@@ -185,6 +187,7 @@ class ChatBotThreadOpenAIImageGenerationTool(ImageGenerationTool):
185
187
  for prop in self.thread_context.thread.root.get_children():
186
188
  if prop.tag_name == "messages":
187
189
  messages = prop
190
+ break
188
191
 
189
192
  for child in messages.get_children():
190
193
  if child.get_attribute("id") == item_id:
@@ -320,6 +323,7 @@ class ChatBot(SingleRoomAgent):
320
323
  for prop in thread.root.get_children():
321
324
  if prop.tag_name == "messages":
322
325
  messages = prop
326
+ break
323
327
 
324
328
  if messages is None:
325
329
  raise RoomException("messages element was not found in thread document")
@@ -438,6 +442,8 @@ class ChatBot(SingleRoomAgent):
438
442
  chat_context.append_assistant_message(
439
443
  f"the user attached a file with the path '{child.get_attribute('path')}'"
440
444
  )
445
+
446
+ break
441
447
 
442
448
  if doc_messages is None:
443
449
  raise Exception("thread was not properly initialized")
@@ -460,6 +466,7 @@ class ChatBot(SingleRoomAgent):
460
466
  for prop in thread.root.get_children():
461
467
  if prop.tag_name == "messages":
462
468
  doc_messages = prop
469
+ break
463
470
 
464
471
  if doc_messages is None:
465
472
  raise RoomException("messages element is missing from thread document")
@@ -1 +1 @@
1
- __version__ = "0.5.4"
1
+ __version__ = "0.5.6"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshagent-agents
3
- Version: 0.5.4
3
+ Version: 0.5.6
4
4
  Summary: Agent Building Blocks for Meshagent
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Documentation, https://docs.meshagent.com
@@ -12,19 +12,19 @@ License-File: LICENSE
12
12
  Requires-Dist: pyjwt~=2.10
13
13
  Requires-Dist: pytest~=8.4
14
14
  Requires-Dist: pytest-asyncio~=0.26
15
- Requires-Dist: meshagent-api~=0.5.4
16
- Requires-Dist: meshagent-tools~=0.5.4
17
- Requires-Dist: meshagent-openai~=0.5.4
15
+ Requires-Dist: meshagent-api~=0.5.6
16
+ Requires-Dist: meshagent-tools~=0.5.6
17
+ Requires-Dist: meshagent-openai~=0.5.6
18
18
  Requires-Dist: pydantic~=2.11
19
19
  Requires-Dist: opentelemetry-distro~=0.54b1
20
20
  Provides-Extra: all
21
- Requires-Dist: meshagent-api[all]~=0.5.4; extra == "all"
21
+ Requires-Dist: meshagent-api[all]~=0.5.6; extra == "all"
22
22
  Requires-Dist: chonkie~=0.5.1; extra == "all"
23
23
  Requires-Dist: chonkie[semantic]~=0.5.1; extra == "all"
24
24
  Requires-Dist: chonkie[openai]~=0.5.1; extra == "all"
25
25
  Requires-Dist: aiosmtplib~=4.0.1; extra == "all"
26
26
  Provides-Extra: sync
27
- Requires-Dist: meshagent-api[sync]~=0.5.4; extra == "sync"
27
+ Requires-Dist: meshagent-api[sync]~=0.5.6; extra == "sync"
28
28
  Provides-Extra: mail
29
29
  Requires-Dist: aiosmtplib~=4.0.1; extra == "mail"
30
30
  Provides-Extra: rag
@@ -1,7 +1,7 @@
1
1
  meshagent/agents/__init__.py,sha256=d2cplyLH8xqDWqP_GoPQ8ApHzuv8Iiq4rz-vYBlGMTw,706
2
2
  meshagent/agents/adapter.py,sha256=dMuejpjl__bdZ-Qmt-k4e81g-i10vZup7WE1JCZ_Sy4,1392
3
3
  meshagent/agents/agent.py,sha256=w14hM63YXiH15VEF1T2eZCvggvrUkE00a1kQkaMRBM0,20354
4
- meshagent/agents/chat.py,sha256=xnXQTRiiCL-rzZw8Gv1LJy09frQpHAoAHoK2-gzP6MM,32737
4
+ meshagent/agents/chat.py,sha256=k7O2swnp2xiD2TcELC32u-yKx_-Ug_JrzW-paK3XyF8,32886
5
5
  meshagent/agents/context.py,sha256=6txCXA22aHQaikvIKED6YjPyasM_bPqGqCE4HGj04_E,4035
6
6
  meshagent/agents/development.py,sha256=AEBkkycNZDRLYIdmX2LkrVZv715ALswiwSR9CiV3HE4,894
7
7
  meshagent/agents/hosting.py,sha256=tCcswAweEhlMxGaBR_m2YvUkwZiaHbTBT64urRHfK7I,5446
@@ -14,7 +14,7 @@ meshagent/agents/pydantic.py,sha256=RrdOESZg-n_FyxbfkOBwRPVxV39IOjxK2unsyAGn9as,
14
14
  meshagent/agents/single_shot_writer.py,sha256=miWVMo4NX8Hib0yHwDmiwuk8GraJwg1JzljsgFyTl4Y,3237
15
15
  meshagent/agents/thread_schema.py,sha256=OGQ-H5c2fJgNOYHC3Pas8iqTi2RUSxP2bytf0SK-SYc,4208
16
16
  meshagent/agents/utils.py,sha256=6D9GXpYu9xx5XlfD3DiGFdyOwq46e5-sTYOF_FYep1o,1446
17
- meshagent/agents/version.py,sha256=DITpct-LrdIsTgwx2NgH5Ghx5y8Xgz1YMimy1ZV5RTY,22
17
+ meshagent/agents/version.py,sha256=CMH34Gt1AqO7z_TqRj94XwohGoVCf8aes0djkqm45mk,22
18
18
  meshagent/agents/worker.py,sha256=SkrPhxIQ-Chyjg-eZGOlehkbrVYmsas8zmZnrTsAl3o,3910
19
19
  meshagent/agents/writer.py,sha256=dXglYgHwBrBJIaapMqBDyD3kmwSyi94tOdHH44itODc,2682
20
20
  meshagent/agents/schemas/__init__.py,sha256=_xAhrkxvFdfer3NolrynragGxcLElGR51LSribT3deU,299
@@ -23,8 +23,8 @@ meshagent/agents/schemas/gallery.py,sha256=65IsrH2wiFIR-DNo8est-nCOC72i1Aa5EmVNU
23
23
  meshagent/agents/schemas/presentation.py,sha256=aaMzkFQryurbHd1fbzTQPdN7v8QIhsjXuvbE8ZiuXNY,1589
24
24
  meshagent/agents/schemas/schema.py,sha256=8OXGCLVouoPg6eHBU9mgf1pTGTMvVZqiKNq15wkQJe0,5310
25
25
  meshagent/agents/schemas/super_editor_document.py,sha256=iRv4Q-DE_5kUdsAD5Rm4GwHek8L_7ZEpxIZ1x2dWjdg,1813
26
- meshagent_agents-0.5.4.dist-info/licenses/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
27
- meshagent_agents-0.5.4.dist-info/METADATA,sha256=slVBBDAZPV--6XZANlTd_H-qRKuDmlE6alIVIViLq9g,3773
28
- meshagent_agents-0.5.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
- meshagent_agents-0.5.4.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
30
- meshagent_agents-0.5.4.dist-info/RECORD,,
26
+ meshagent_agents-0.5.6.dist-info/licenses/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
27
+ meshagent_agents-0.5.6.dist-info/METADATA,sha256=vv_aFqsygHGDpuAJmqEzOjGajBWUxxm7ThWXac9yEq4,3773
28
+ meshagent_agents-0.5.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
+ meshagent_agents-0.5.6.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
30
+ meshagent_agents-0.5.6.dist-info/RECORD,,