meshagent-agents 0.0.20__py3-none-any.whl → 0.0.21__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 +6 -2
- meshagent/agents/indexer.py +1 -1
- meshagent/agents/version.py +1 -1
- meshagent_agents-0.0.21.dist-info/METADATA +31 -0
- {meshagent_agents-0.0.20.dist-info → meshagent_agents-0.0.21.dist-info}/RECORD +8 -8
- {meshagent_agents-0.0.20.dist-info → meshagent_agents-0.0.21.dist-info}/WHEEL +1 -1
- meshagent_agents-0.0.20.dist-info/METADATA +0 -23
- {meshagent_agents-0.0.20.dist-info → meshagent_agents-0.0.21.dist-info}/licenses/LICENSE +0 -0
- {meshagent_agents-0.0.20.dist-info → meshagent_agents-0.0.21.dist-info}/top_level.txt +0 -0
meshagent/agents/chat.py
CHANGED
|
@@ -269,6 +269,10 @@ class ChatBot(SingleRoomAgent):
|
|
|
269
269
|
chat_context.append_assistant_message(msg)
|
|
270
270
|
else:
|
|
271
271
|
chat_context.append_user_message(msg)
|
|
272
|
+
|
|
273
|
+
for child in element.get_children():
|
|
274
|
+
if child.tag_name == "file":
|
|
275
|
+
chat_context.append_assistant_message(f"the user attached a file with the path '{child.get_attribute("path")}'")
|
|
272
276
|
|
|
273
277
|
if doc_messages == None:
|
|
274
278
|
raise Exception("thread was not properly initialized")
|
|
@@ -306,7 +310,7 @@ class ChatBot(SingleRoomAgent):
|
|
|
306
310
|
|
|
307
311
|
for attachment in attachments:
|
|
308
312
|
|
|
309
|
-
chat_context.append_assistant_message(message=f"the user attached a file
|
|
313
|
+
chat_context.append_assistant_message(message=f"the user attached a file at the path '{attachment["path"]}'")
|
|
310
314
|
|
|
311
315
|
|
|
312
316
|
chat_context.append_user_message(message=text)
|
|
@@ -334,7 +338,7 @@ class ChatBot(SingleRoomAgent):
|
|
|
334
338
|
chat=chat_context,
|
|
335
339
|
thread=thread,
|
|
336
340
|
participants=get_thread_participants(room=self.room, thread=thread)
|
|
337
|
-
)
|
|
341
|
+
)
|
|
338
342
|
|
|
339
343
|
def handle_event(evt):
|
|
340
344
|
llm_messages.send_nowait(evt)
|
meshagent/agents/indexer.py
CHANGED
meshagent/agents/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.21"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: meshagent-agents
|
|
3
|
+
Version: 0.0.21
|
|
4
|
+
Summary: Agent Building Blocks for Meshagent
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Documentation, https://meshagent.com
|
|
7
|
+
Project-URL: Website, https://meshagent.com
|
|
8
|
+
Project-URL: Source, https://github.com/meshagent
|
|
9
|
+
Requires-Python: >=3.9.0
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Requires-Dist: pyjwt~=2.10.1
|
|
13
|
+
Requires-Dist: pytest~=8.3.5
|
|
14
|
+
Requires-Dist: pytest-asyncio~=0.26.0
|
|
15
|
+
Requires-Dist: meshagent-api~=0.0.21
|
|
16
|
+
Requires-Dist: meshagent-tools~=0.0.21
|
|
17
|
+
Requires-Dist: meshagent-openai~=0.0.21
|
|
18
|
+
Requires-Dist: pydantic~=2.11.1
|
|
19
|
+
Requires-Dist: pydantic-ai~=0.0.48
|
|
20
|
+
Provides-Extra: all
|
|
21
|
+
Requires-Dist: meshagent-api[all]~=0.0.21; extra == "all"
|
|
22
|
+
Requires-Dist: chonkie~=0.5.1; extra == "all"
|
|
23
|
+
Requires-Dist: chonkie[semantic]~=0.5.1; extra == "all"
|
|
24
|
+
Requires-Dist: chonkie[openai]~=0.5.1; extra == "all"
|
|
25
|
+
Provides-Extra: sync
|
|
26
|
+
Requires-Dist: meshagent-api[sync]~=0.0.21; extra == "sync"
|
|
27
|
+
Provides-Extra: rag
|
|
28
|
+
Requires-Dist: chonkie~=0.5.1; extra == "rag"
|
|
29
|
+
Requires-Dist: chonkie[semantic]~=0.5.1; extra == "rag"
|
|
30
|
+
Requires-Dist: chonkie[openai]~=0.5.1; extra == "rag"
|
|
31
|
+
Dynamic: license-file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
meshagent/agents/__init__.py,sha256=S83622vDM9hWErcgfwZg8lJT2ncu00OEgnxoIbY3VcM,376
|
|
2
2
|
meshagent/agents/adapter.py,sha256=_83Q2XiA8e6Xh37xYnJ9z75AbDWskR-mmKH-LLq6mpA,1318
|
|
3
3
|
meshagent/agents/agent.py,sha256=4U9R2hcOaXhIF1kaWCDf3P2haHuO-oA6nU6wqUTSVe8,19060
|
|
4
|
-
meshagent/agents/chat.py,sha256=
|
|
4
|
+
meshagent/agents/chat.py,sha256=wfJRF3lz5DiM9WhhwJiZrTTlcR2b58draBCisrDgu5s,18209
|
|
5
5
|
meshagent/agents/context.py,sha256=6eFK7wizjzZmZyhbqwazlT_E_e_Cpb17Qa3tBk2BJzw,3804
|
|
6
6
|
meshagent/agents/development.py,sha256=04VYL1Q_BWUTQeVuiVOpyjcs8bzUIX1eQ4VyTtjc5s0,926
|
|
7
7
|
meshagent/agents/hosting.py,sha256=QFSppE-nbL31yuGvzSpES7FyNHpuHCTDDYSnroottn8,4936
|
|
8
|
-
meshagent/agents/indexer.py,sha256=
|
|
8
|
+
meshagent/agents/indexer.py,sha256=Lz7hJvC7hbvnmiFQLEzmakw_1OPh93pp96iSwIv1fQc,19410
|
|
9
9
|
meshagent/agents/listener.py,sha256=T205pkkkJyOEDjKpSTrsA1XToGLWfwje_84SQu5V-vM,5359
|
|
10
10
|
meshagent/agents/planning.py,sha256=NtXzYiwykeYdQghWjwsChy4f9OgIsQZWiIstpZvtGtU,21811
|
|
11
11
|
meshagent/agents/prompt.py,sha256=sidiyLLC6Lr9KO3cUTKttd2oROlcizle_4iKoaNrfhA,1864
|
|
@@ -13,7 +13,7 @@ meshagent/agents/pydantic.py,sha256=My9sv1A56unA0qVoPSH-mYtxcgl0AKyxFgyOM70pjLM,
|
|
|
13
13
|
meshagent/agents/single_shot_writer.py,sha256=QsGvTIw1qtp8nGLfzuJwdZj6ucY4cW9rdecqNwv83FA,3355
|
|
14
14
|
meshagent/agents/thread_schema.py,sha256=-KGAMNxQsVuXpvc0avV-OYHe2LMXpjTu5PyQ-1nBnyE,2667
|
|
15
15
|
meshagent/agents/utils.py,sha256=upMbvG4KODZijeTO3IdW4GgzFPz4jXTzNhZBDmtroic,1431
|
|
16
|
-
meshagent/agents/version.py,sha256=
|
|
16
|
+
meshagent/agents/version.py,sha256=9_nCx08vWHyj8RiwIYqwqah3T4SPB46e0jnaNSxxfDc,22
|
|
17
17
|
meshagent/agents/worker.py,sha256=3y7D59ea7c09bwMFAjw1SUspAxe1Gzsta7lzsoyJgKA,3901
|
|
18
18
|
meshagent/agents/writer.py,sha256=2Nk52JcjdRz3EnGBO4EHnv49QzByWiije1LKMNuCAIo,2687
|
|
19
19
|
meshagent/agents/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -22,8 +22,8 @@ meshagent/agents/schemas/gallery.py,sha256=fzAdlDrn_dJz4FDPkSTH9ir7QmRpV8wFjj6RT
|
|
|
22
22
|
meshagent/agents/schemas/presentation.py,sha256=DreBXAU7Lx92NBPTlEOZq1gdaRs0OkZrJgPT5N7fYH4,1265
|
|
23
23
|
meshagent/agents/schemas/schema.py,sha256=O52T5nUGRNQ8AsamZ_W_IQ8WRDqSBo3vWFDSQcC7Lcg,4473
|
|
24
24
|
meshagent/agents/schemas/super_editor_document.py,sha256=lFpbZn_s_6hchimddzpnGneJ7LaB6dTN_AnLZsx2r9c,1469
|
|
25
|
-
meshagent_agents-0.0.
|
|
26
|
-
meshagent_agents-0.0.
|
|
27
|
-
meshagent_agents-0.0.
|
|
28
|
-
meshagent_agents-0.0.
|
|
29
|
-
meshagent_agents-0.0.
|
|
25
|
+
meshagent_agents-0.0.21.dist-info/licenses/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
|
|
26
|
+
meshagent_agents-0.0.21.dist-info/METADATA,sha256=BD_CUWUZlFCyMLxheiuL6fmZospCcvvfP4K3Ycrfeec,1160
|
|
27
|
+
meshagent_agents-0.0.21.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
|
28
|
+
meshagent_agents-0.0.21.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
|
|
29
|
+
meshagent_agents-0.0.21.dist-info/RECORD,,
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: meshagent-agents
|
|
3
|
-
Version: 0.0.20
|
|
4
|
-
Summary: Agent Building Blocks for Meshagent
|
|
5
|
-
License-Expression: Apache-2.0
|
|
6
|
-
Project-URL: Documentation, https://meshagent.com
|
|
7
|
-
Project-URL: Website, https://meshagent.com
|
|
8
|
-
Project-URL: Source, https://github.com/meshagent
|
|
9
|
-
Requires-Python: >=3.9.0
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
License-File: LICENSE
|
|
12
|
-
Requires-Dist: pyjwt~=2.10.1
|
|
13
|
-
Requires-Dist: pytest~=8.3.5
|
|
14
|
-
Requires-Dist: pytest-asyncio~=0.26.0
|
|
15
|
-
Requires-Dist: meshagent-api~=0.0.20
|
|
16
|
-
Requires-Dist: meshagent-tools~=0.0.20
|
|
17
|
-
Requires-Dist: meshagent-openai~=0.0.20
|
|
18
|
-
Requires-Dist: pydantic~=2.11.1
|
|
19
|
-
Requires-Dist: pydantic-ai~=0.0.48
|
|
20
|
-
Requires-Dist: chonkie~=0.5.1
|
|
21
|
-
Requires-Dist: chonkie[semantic]~=0.5.1
|
|
22
|
-
Requires-Dist: chonkie[openai]~=0.5.1
|
|
23
|
-
Dynamic: license-file
|
|
File without changes
|
|
File without changes
|