meshagent-agents 0.0.39__py3-none-any.whl → 0.2.0__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 +1 -1
- meshagent/agents/planning.py +0 -8
- meshagent/agents/schemas/__init__.py +4 -4
- meshagent/agents/single_shot_writer.py +0 -4
- meshagent/agents/version.py +1 -1
- {meshagent_agents-0.0.39.dist-info → meshagent_agents-0.2.0.dist-info}/METADATA +6 -6
- {meshagent_agents-0.0.39.dist-info → meshagent_agents-0.2.0.dist-info}/RECORD +10 -10
- {meshagent_agents-0.0.39.dist-info → meshagent_agents-0.2.0.dist-info}/WHEEL +0 -0
- {meshagent_agents-0.0.39.dist-info → meshagent_agents-0.2.0.dist-info}/licenses/LICENSE +0 -0
- {meshagent_agents-0.0.39.dist-info → meshagent_agents-0.2.0.dist-info}/top_level.txt +0 -0
meshagent/agents/chat.py
CHANGED
|
@@ -760,7 +760,7 @@ class ChatBot(SingleRoomAgent):
|
|
|
760
760
|
|
|
761
761
|
def on_participant_added(participant: RemoteParticipant):
|
|
762
762
|
# will spawn the initial thread
|
|
763
|
-
self._get_message_channel(
|
|
763
|
+
self._get_message_channel(participant.id)
|
|
764
764
|
|
|
765
765
|
room.messaging.on("participant_added", on_participant_added)
|
|
766
766
|
|
meshagent/agents/planning.py
CHANGED
|
@@ -274,8 +274,6 @@ class PlanningWriter(Writer):
|
|
|
274
274
|
output_schema=rs,
|
|
275
275
|
)
|
|
276
276
|
|
|
277
|
-
logger.info("COMPLETION RESPONSE %s", responses)
|
|
278
|
-
|
|
279
277
|
except Exception as e:
|
|
280
278
|
logger.error("Unable to execute reasoning completion task", exc_info=e)
|
|
281
279
|
# retry
|
|
@@ -434,8 +432,6 @@ class PlanningResponder(TaskRunner):
|
|
|
434
432
|
i += 1
|
|
435
433
|
|
|
436
434
|
try:
|
|
437
|
-
logger.info("COMPLETION STARTING: Step %s", i)
|
|
438
|
-
|
|
439
435
|
responses = await self._llm_adapter.next(
|
|
440
436
|
context=context.chat,
|
|
441
437
|
room=room,
|
|
@@ -444,8 +440,6 @@ class PlanningResponder(TaskRunner):
|
|
|
444
440
|
output_schema=rs,
|
|
445
441
|
)
|
|
446
442
|
|
|
447
|
-
logger.info("COMPLETION RESPONSE %s", responses)
|
|
448
|
-
|
|
449
443
|
except Exception as e:
|
|
450
444
|
logger.error("Unable to execute reasoning completion task", exc_info=e)
|
|
451
445
|
# retry
|
|
@@ -616,8 +610,6 @@ class DynamicPlanningResponder(TaskRunner):
|
|
|
616
610
|
output_schema=rs,
|
|
617
611
|
)
|
|
618
612
|
|
|
619
|
-
logger.info("COMPLETION RESPONSE %s", responses)
|
|
620
|
-
|
|
621
613
|
except Exception as e:
|
|
622
614
|
logger.error("Unable to execute reasoning completion task", exc_info=e)
|
|
623
615
|
# retry
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from document import document_schema
|
|
2
|
-
from gallery import gallery_schema
|
|
3
|
-
from presentation import presentation_schema
|
|
4
|
-
from super_editor_document import super_editor_document_schema
|
|
1
|
+
from .document import document_schema
|
|
2
|
+
from .gallery import gallery_schema
|
|
3
|
+
from .presentation import presentation_schema
|
|
4
|
+
from .super_editor_document import super_editor_document_schema
|
|
5
5
|
|
|
6
6
|
__all__ = [
|
|
7
7
|
document_schema,
|
|
@@ -66,8 +66,6 @@ class SingleShotWriter(Writer):
|
|
|
66
66
|
toolkits = [*self._toolkits, *writer_context.call_context.toolkits]
|
|
67
67
|
|
|
68
68
|
try:
|
|
69
|
-
logger.info("SINGLE SHOT COMPLETION STARTING")
|
|
70
|
-
|
|
71
69
|
response = await self._llm_adapter.next(
|
|
72
70
|
context=writer_context.call_context.chat,
|
|
73
71
|
room=writer_context.room,
|
|
@@ -76,8 +74,6 @@ class SingleShotWriter(Writer):
|
|
|
76
74
|
output_schema=writer_context.document.schema.to_json(),
|
|
77
75
|
)
|
|
78
76
|
|
|
79
|
-
logger.info("SINGLE SHOT COMPLETION RESPONSE %s", response)
|
|
80
|
-
|
|
81
77
|
except Exception as e:
|
|
82
78
|
logger.error("Unable to execute reasoning completion task", exc_info=e)
|
|
83
79
|
# retry
|
meshagent/agents/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.0
|
|
1
|
+
__version__ = "0.2.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-agents
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.2.0
|
|
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.0
|
|
16
|
-
Requires-Dist: meshagent-tools~=0.0
|
|
17
|
-
Requires-Dist: meshagent-openai~=0.0
|
|
15
|
+
Requires-Dist: meshagent-api~=0.2.0
|
|
16
|
+
Requires-Dist: meshagent-tools~=0.2.0
|
|
17
|
+
Requires-Dist: meshagent-openai~=0.2.0
|
|
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.0
|
|
21
|
+
Requires-Dist: meshagent-api[all]~=0.2.0; 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.0
|
|
27
|
+
Requires-Dist: meshagent-api[sync]~=0.2.0; extra == "sync"
|
|
28
28
|
Provides-Extra: mail
|
|
29
29
|
Requires-Dist: aiosmtplib~=4.0.1; extra == "mail"
|
|
30
30
|
Provides-Extra: rag
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
meshagent/agents/__init__.py,sha256=d2cplyLH8xqDWqP_GoPQ8ApHzuv8Iiq4rz-vYBlGMTw,706
|
|
2
2
|
meshagent/agents/adapter.py,sha256=CZgVzUTTY8dyPBYA7O_Kaawb40maxAbUUhBFk1YjbsI,1386
|
|
3
3
|
meshagent/agents/agent.py,sha256=bBEMlI2E0P97gkP93J68o9XvIxtTB_bEiFXSrRH3iyk,20623
|
|
4
|
-
meshagent/agents/chat.py,sha256=
|
|
4
|
+
meshagent/agents/chat.py,sha256=5yxzs1KkWigv1H5LXWjSqO5eX90LYSYlN8eruJOxI_Q,29011
|
|
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
|
|
8
8
|
meshagent/agents/indexer.py,sha256=xFEzAmwAxhKu9xHppnxFUFlzeRHMfVk6MatRyka0ZW8,19367
|
|
9
9
|
meshagent/agents/listener.py,sha256=q5z216FMVW-a7FBs706u3IuB81VArfucxEHaHvPFHEo,5139
|
|
10
10
|
meshagent/agents/mail.py,sha256=jFr9YBTzYc14adOAAl9rYC9bOmEVYTj6NAOKvtLsfVo,11038
|
|
11
|
-
meshagent/agents/planning.py,sha256=
|
|
11
|
+
meshagent/agents/planning.py,sha256=69HLEkOR_24mZ1mcUCQVX_DgPfX5TVA7EJYCHENH6M0,21980
|
|
12
12
|
meshagent/agents/prompt.py,sha256=OSSqbzaugyQtuvYxTY5UcZQWyeV73e3GUJz_iC5xZkA,1883
|
|
13
13
|
meshagent/agents/pydantic.py,sha256=RrdOESZg-n_FyxbfkOBwRPVxV39IOjxK2unsyAGn9as,6278
|
|
14
|
-
meshagent/agents/single_shot_writer.py,sha256=
|
|
14
|
+
meshagent/agents/single_shot_writer.py,sha256=miWVMo4NX8Hib0yHwDmiwuk8GraJwg1JzljsgFyTl4Y,3237
|
|
15
15
|
meshagent/agents/thread_schema.py,sha256=c6KuLhcBxjxcz8M5NQzmmlyJLqv8RB7W491uWOu6Z34,3485
|
|
16
16
|
meshagent/agents/utils.py,sha256=6D9GXpYu9xx5XlfD3DiGFdyOwq46e5-sTYOF_FYep1o,1446
|
|
17
|
-
meshagent/agents/version.py,sha256=
|
|
17
|
+
meshagent/agents/version.py,sha256=Zn1KFblwuFHiDRdRAiRnDBRkbPttWh44jKa5zG2ov0E,22
|
|
18
18
|
meshagent/agents/worker.py,sha256=6-SDWm-4aqlx9G8321g1lS0caZUybBpJRhrg5jxqTy8,3500
|
|
19
19
|
meshagent/agents/writer.py,sha256=dXglYgHwBrBJIaapMqBDyD3kmwSyi94tOdHH44itODc,2682
|
|
20
|
-
meshagent/agents/schemas/__init__.py,sha256=
|
|
20
|
+
meshagent/agents/schemas/__init__.py,sha256=_xAhrkxvFdfer3NolrynragGxcLElGR51LSribT3deU,299
|
|
21
21
|
meshagent/agents/schemas/document.py,sha256=H-aolubkRHdTAH-rLI2SJ8y3JKwXvpNsR3ZCqghwAWI,1515
|
|
22
22
|
meshagent/agents/schemas/gallery.py,sha256=65IsrH2wiFIR-DNo8est-nCOC72i1Aa5EmVNUHtVnK0,1091
|
|
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.0.
|
|
27
|
-
meshagent_agents-0.0.
|
|
28
|
-
meshagent_agents-0.0.
|
|
29
|
-
meshagent_agents-0.0.
|
|
30
|
-
meshagent_agents-0.0.
|
|
26
|
+
meshagent_agents-0.2.0.dist-info/licenses/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
|
|
27
|
+
meshagent_agents-0.2.0.dist-info/METADATA,sha256=R4IPaiJentqwV6mISTKncttGau6MiYr6aJ9xVgJil3g,3731
|
|
28
|
+
meshagent_agents-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
29
|
+
meshagent_agents-0.2.0.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
|
|
30
|
+
meshagent_agents-0.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|