mindroot 8.3.0__py3-none-any.whl → 8.4.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 mindroot might be problematic. Click here for more details.
- mindroot/coreplugins/chat/services.py +12 -5
- {mindroot-8.3.0.dist-info → mindroot-8.4.0.dist-info}/METADATA +1 -1
- {mindroot-8.3.0.dist-info → mindroot-8.4.0.dist-info}/RECORD +7 -7
- {mindroot-8.3.0.dist-info → mindroot-8.4.0.dist-info}/WHEEL +0 -0
- {mindroot-8.3.0.dist-info → mindroot-8.4.0.dist-info}/entry_points.txt +0 -0
- {mindroot-8.3.0.dist-info → mindroot-8.4.0.dist-info}/licenses/LICENSE +0 -0
- {mindroot-8.3.0.dist-info → mindroot-8.4.0.dist-info}/top_level.txt +0 -0
|
@@ -267,19 +267,25 @@ async def send_message_to_agent(session_id: str, message: str | List[MessagePart
|
|
|
267
267
|
parse_error = False
|
|
268
268
|
|
|
269
269
|
results, full_cmds = await agent_.chat_commands(context.current_model, context, messages=context.chat_log.get_recent())
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
270
|
+
if results is not None:
|
|
271
|
+
try:
|
|
272
|
+
for result in results:
|
|
273
|
+
if result['cmd'] == 'UNKNOWN':
|
|
274
|
+
consecutive_parse_errors += 1
|
|
275
|
+
parse_error = True
|
|
276
|
+
except Exception as e:
|
|
277
|
+
pass
|
|
274
278
|
|
|
275
279
|
if not parse_error:
|
|
276
280
|
consecutive_parse_errors = 0
|
|
281
|
+
else:
|
|
282
|
+
await asyncio.sleep(1)
|
|
277
283
|
|
|
278
284
|
if consecutive_parse_errors > 6:
|
|
279
285
|
raise Exception("Too many consecutive parse errors, stopping processing.")
|
|
280
286
|
|
|
281
287
|
elif consecutive_parse_errors > 3:
|
|
282
|
-
results.append({"cmd": "UNKNOWN", "args": { "SYSTEM WARNING: Issue valid command list or task processing will be halted. Simplify output."}})
|
|
288
|
+
results.append({"cmd": "UNKNOWN", "args": { "SYSTEM WARNING: Issue valid command list or task; processing will be halted. Simplify output."}})
|
|
283
289
|
|
|
284
290
|
try:
|
|
285
291
|
tmp_data3 = { "results": full_cmds }
|
|
@@ -340,6 +346,7 @@ async def send_message_to_agent(session_id: str, message: str | List[MessagePart
|
|
|
340
346
|
continue_processing = False
|
|
341
347
|
except Exception as e:
|
|
342
348
|
continue_processing = False
|
|
349
|
+
await asyncio.sleep(1)
|
|
343
350
|
trace = traceback.format_exc()
|
|
344
351
|
msg = str(e)
|
|
345
352
|
descr = msg + "\n\n" + trace
|
|
@@ -450,7 +450,7 @@ mindroot/coreplugins/chat/format_result_msgs.py,sha256=daEdpEyAJIa8b2VkCqSKcw8Pa
|
|
|
450
450
|
mindroot/coreplugins/chat/mod.py,sha256=Xydjv3feKJJRbwdiB7raqiQnWtaS_2GcdC9bXYQX3nE,425
|
|
451
451
|
mindroot/coreplugins/chat/models.py,sha256=GRcRuDUAJFpyWERPMxkxUaZ21igNlWeeamriruEKiEQ,692
|
|
452
452
|
mindroot/coreplugins/chat/router.py,sha256=ucSQ6_wztDq2PCUP0D4KHL5JaFUAaBtmCQy-4iI8e8c,9087
|
|
453
|
-
mindroot/coreplugins/chat/services.py,sha256=
|
|
453
|
+
mindroot/coreplugins/chat/services.py,sha256=Ngv_TceFeXn2EzlZbSbR8Iv1E4M7qL7o3q1L7tufFq4,17835
|
|
454
454
|
mindroot/coreplugins/chat/utils.py,sha256=BiE14PpsAcQSO5vbU88klHGm8cAXJDXxgVgva-EXybU,155
|
|
455
455
|
mindroot/coreplugins/chat/static/assistant.png,sha256=oAt1ctkFKLSPBoAZGNnSixooW9ANVIk1GwniauVWDXo,215190
|
|
456
456
|
mindroot/coreplugins/chat/static/mindgen.png,sha256=fN3E3oOFvAGYjJq-Pvg2f75jIMv7kg5WRU0EeEbxCWg,235353
|
|
@@ -1817,9 +1817,9 @@ mindroot/protocols/services/stream_chat.py,sha256=fMnPfwaB5fdNMBLTEg8BXKAGvrELKH
|
|
|
1817
1817
|
mindroot/registry/__init__.py,sha256=40Xy9bmPHsgdIrOzbtBGzf4XMqXVi9P8oZTJhn0r654,151
|
|
1818
1818
|
mindroot/registry/component_manager.py,sha256=WZFNPg4SNvpqsM5NFiC2DpgmrJQCyR9cNhrCBpp30Qk,995
|
|
1819
1819
|
mindroot/registry/data_access.py,sha256=NgNMamxIjaKeYxzxnVaQz1Y-Rm0AI51si3788_JHUTM,5316
|
|
1820
|
-
mindroot-8.
|
|
1821
|
-
mindroot-8.
|
|
1822
|
-
mindroot-8.
|
|
1823
|
-
mindroot-8.
|
|
1824
|
-
mindroot-8.
|
|
1825
|
-
mindroot-8.
|
|
1820
|
+
mindroot-8.4.0.dist-info/licenses/LICENSE,sha256=8plAmZh8y9ccuuqFFz4kp7G-cO_qsPgAOoHNvabSB4U,1070
|
|
1821
|
+
mindroot-8.4.0.dist-info/METADATA,sha256=dL3FgMag3dUJHTDub3nQuv6Q0j2YDo6h8CuDNpaGKdA,356
|
|
1822
|
+
mindroot-8.4.0.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
1823
|
+
mindroot-8.4.0.dist-info/entry_points.txt,sha256=0bpyjMccLttx6VcjDp6zfJPN0Kk0rffor6IdIbP0j4c,50
|
|
1824
|
+
mindroot-8.4.0.dist-info/top_level.txt,sha256=gwKm7DmNjhdrCJTYCrxa9Szne4lLpCtrEBltfsX-Mm8,9
|
|
1825
|
+
mindroot-8.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|