meshagent-agents 0.0.1__py3-none-any.whl → 0.0.3__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
@@ -158,8 +158,20 @@ class ChatBot(SingleRoomAgent):
158
158
 
159
159
  if installed == False:
160
160
  installed = True
161
- await self.install_requirements(participant_id=participant_id)
161
+ try:
162
+ await self.install_requirements(participant_id=participant_id)
163
+ except Exception as e:
164
+ self.room.developer.log_nowait("error", { "text" : f"unable to install requirements: {e}" })
162
165
 
166
+ error = "I was unable to install the tools I require to operate in the room, I may not function properly."
167
+ chat_context.append_user_message(message=error)
168
+ await self._room.messaging.send_message(
169
+ to=chat_with_participant,
170
+ type="chat",
171
+ message={
172
+ "text": error
173
+ }
174
+ )
163
175
 
164
176
  if received.type == "opened":
165
177
 
@@ -1 +1 @@
1
- __version__ = "0.0.1"
1
+ __version__ = "0.0.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: meshagent-agents
3
- Version: 0.0.1
3
+ Version: 0.0.3
4
4
  Summary: Agent Building Blocks for Meshagent
5
5
  Home-page:
6
6
  License: Apache License 2.0
@@ -13,9 +13,9 @@ License-File: LICENSE
13
13
  Requires-Dist: pyjwt>=2.0.0
14
14
  Requires-Dist: pytest>=8.3.4
15
15
  Requires-Dist: pytest-asyncio>=0.24.0
16
- Requires-Dist: meshagent-api>=0.0.1
17
- Requires-Dist: meshagent-tools>=0.0.1
18
- Requires-Dist: meshagent-openai>=0.0.1
16
+ Requires-Dist: meshagent-api>=0.0.3
17
+ Requires-Dist: meshagent-tools>=0.0.3
18
+ Requires-Dist: meshagent-openai>=0.0.3
19
19
  Requires-Dist: pydantic>=2.10.4
20
20
  Requires-Dist: pydantic-ai>=0.0.23
21
21
  Requires-Dist: chonkie>=0.5.1
@@ -1,7 +1,7 @@
1
1
  meshagent/agents/__init__.py,sha256=morriYsu4jkd6oboNO-s531uRTns_br6f4CV_AC7omg,303
2
2
  meshagent/agents/adapter.py,sha256=fBNmLtHHgZbgWIqGDUPu5PrUV8qM-_E4kWWvHFWmZqg,1066
3
3
  meshagent/agents/agent.py,sha256=VrjUH_scLe4CuZwsrnGMKVvi4NeUcAahd4K9CGEpwwk,15537
4
- meshagent/agents/chat.py,sha256=JhEscOBipq5liAC_DrPYqyi3v_3td1x25mH5d0GWS5o,11565
4
+ meshagent/agents/chat.py,sha256=EsPOhw4CV4REJTmV1CPFG-Oxj7O-0vU1eTyPxcYPUq8,12257
5
5
  meshagent/agents/context.py,sha256=yph6EW5byiKh8znumr6WgN5Us1x6SDPBS3PQo40_krg,2744
6
6
  meshagent/agents/development.py,sha256=04VYL1Q_BWUTQeVuiVOpyjcs8bzUIX1eQ4VyTtjc5s0,926
7
7
  meshagent/agents/hosting.py,sha256=e2wMGbWFt0WO3CJaTQehwbucftgUNVTgRsrBWiYDgcU,4973
@@ -12,11 +12,11 @@ meshagent/agents/prompt.py,sha256=PfdH_7_Re1jEPfDmkwtG74-SwyVA7uRXFk_4_s0us6k,15
12
12
  meshagent/agents/pydantic.py,sha256=MUAcc5HWEvnOPPR2DkFVvGykG00_W8BuPwFPrbzher8,4904
13
13
  meshagent/agents/schema.py,sha256=Efzd-srpHazNq-jZ7bMNZX_TZJOBbfYfDHXbpLu_hhY,1292
14
14
  meshagent/agents/single_shot_writer.py,sha256=-wMqQTYVYrh_P5Gc9PROOiTeJefdgNGWAYeRFZ2sQVk,3387
15
- meshagent/agents/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
15
+ meshagent/agents/version.py,sha256=k5tJXhBQJ4l9fKHJ76K5w98zBHoYvNk9r-UNH6eQ2-k,21
16
16
  meshagent/agents/worker.py,sha256=vZ6tnOyjno8N551c5HsXR8Mw3ZPmYRa4o1MZ3i7hEG4,4374
17
17
  meshagent/agents/writer.py,sha256=Ff8RVxdpFNKmo6zxaGkuFMz8MIKumdM0FIXX_6lbZ6Q,2738
18
- meshagent_agents-0.0.1.dist-info/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
19
- meshagent_agents-0.0.1.dist-info/METADATA,sha256=EPKnWFmGl4SIn5Xy17PyisiCqpLWrkpOkvRkqHAvt2g,896
20
- meshagent_agents-0.0.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
21
- meshagent_agents-0.0.1.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
22
- meshagent_agents-0.0.1.dist-info/RECORD,,
18
+ meshagent_agents-0.0.3.dist-info/LICENSE,sha256=eTt0SPW-sVNdkZe9PS_S8WfCIyLjRXRl7sUBWdlteFg,10254
19
+ meshagent_agents-0.0.3.dist-info/METADATA,sha256=MiPmYESj4KOhJD5p-vUfKQuFG1iq_wCgcMtyzfl5A_s,896
20
+ meshagent_agents-0.0.3.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
21
+ meshagent_agents-0.0.3.dist-info/top_level.txt,sha256=GlcXnHtRP6m7zlG3Df04M35OsHtNXy_DY09oFwWrH74,10
22
+ meshagent_agents-0.0.3.dist-info/RECORD,,