pycoze 0.1.350__py3-none-any.whl → 0.1.352__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.
- pycoze/bot/chat_base.py +0 -1
- pycoze/bot/tools.py +2 -2
- {pycoze-0.1.350.dist-info → pycoze-0.1.352.dist-info}/METADATA +1 -1
- {pycoze-0.1.350.dist-info → pycoze-0.1.352.dist-info}/RECORD +7 -7
- {pycoze-0.1.350.dist-info → pycoze-0.1.352.dist-info}/LICENSE +0 -0
- {pycoze-0.1.350.dist-info → pycoze-0.1.352.dist-info}/WHEEL +0 -0
- {pycoze-0.1.350.dist-info → pycoze-0.1.352.dist-info}/top_level.txt +0 -0
pycoze/bot/chat_base.py
CHANGED
pycoze/bot/tools.py
CHANGED
@@ -248,7 +248,7 @@ class AttemptTaskCompletionTool(Tool):
|
|
248
248
|
)
|
249
249
|
return f"Task completed: {result}, executed command: {self.params['command']}, execution result: {result.stdout + result.stderr}"
|
250
250
|
else:
|
251
|
-
return f"Task completed
|
251
|
+
return f"Task completed!"
|
252
252
|
|
253
253
|
|
254
254
|
class ToolExecutor:
|
@@ -285,7 +285,7 @@ class ToolExecutor:
|
|
285
285
|
print("Execute tool error:", traceback.format_exc())
|
286
286
|
return False, False, traceback.format_exc()
|
287
287
|
try:
|
288
|
-
result = json.dumps(result, indent=4, ensure_ascii=
|
288
|
+
result = json.dumps(result, indent=4, ensure_ascii=False)
|
289
289
|
except:
|
290
290
|
return True, False, str(result)
|
291
291
|
return True, True, str(result)
|
@@ -13,11 +13,11 @@ pycoze/api/lib/web.py,sha256=GWgtiTJOolKOX2drXcwuyqTcbo5FQVxa1NuBGcNyjyc,223
|
|
13
13
|
pycoze/api/lib/window.py,sha256=bTkQCzQZ7i3pYXB70bUSTBNJ9C4TW_X3yMae1VkquGk,1944
|
14
14
|
pycoze/bot/__init__.py,sha256=rL3Q-ycczRpSFfKn84fg3QBl5k22WpyeIU5qOEjEby8,79
|
15
15
|
pycoze/bot/chat.py,sha256=DB0fUb4B0EVRWWEavCzIa-cSXOpiZrxIusJnQYGPKG8,3765
|
16
|
-
pycoze/bot/chat_base.py,sha256=
|
16
|
+
pycoze/bot/chat_base.py,sha256=ll9ulBPfKtsrJYLqBsrgaFKU7WjIPRDa-LjwCS6xM_M,9666
|
17
17
|
pycoze/bot/lib.py,sha256=smigeWuhl8esHE-Y5l_9bpjJkEJ5OqrxTyPcO8JIubM,7224
|
18
18
|
pycoze/bot/message.py,sha256=udnIi-h4QgGzkbr_5VcAsVGjoLp9wXJSfBCeuOz7_Bk,802
|
19
19
|
pycoze/bot/prompt.md,sha256=OBxwUY6yiwEmusnUHhwixWYByrWX3BpwfxG_Gfas8UM,15783
|
20
|
-
pycoze/bot/tools.py,sha256=
|
20
|
+
pycoze/bot/tools.py,sha256=yqAXKkmq0NPc8M1X91q8oLtGTCh7DKVMixUNh2pswb0,10315
|
21
21
|
pycoze/reference/__init__.py,sha256=zgqGqvmA9HaqytEM33B6vi0kQVk8IiCwJaXa22xsFz8,114
|
22
22
|
pycoze/reference/bot.py,sha256=pxHVYo0G3P3YZ--vBYbMEiEyBoxxPwaO5dMTf9WFMSc,2014
|
23
23
|
pycoze/reference/lib.py,sha256=T-oBOKxkus5dTouc0oDgfRzUyi6aTyY-FF4yX7SzF5M,3755
|
@@ -33,8 +33,8 @@ pycoze/utils/arg.py,sha256=jop1tBfe5hYkHW1NSpCeaZBEznkgguBscj_7M2dWfrs,503
|
|
33
33
|
pycoze/utils/env.py,sha256=5pWlXfM1F5ZU9hhv1rHlDEanjEW5wf0nbyez9bNRqqA,559
|
34
34
|
pycoze/utils/socket.py,sha256=bZbFFRH4mfThzRqt55BAAGQ6eICx_ja4x8UGGrUdAm8,2428
|
35
35
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
36
|
-
pycoze-0.1.
|
37
|
-
pycoze-0.1.
|
38
|
-
pycoze-0.1.
|
39
|
-
pycoze-0.1.
|
40
|
-
pycoze-0.1.
|
36
|
+
pycoze-0.1.352.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
37
|
+
pycoze-0.1.352.dist-info/METADATA,sha256=uEiJhiWY3qk4ttM8waCPWVusaw3BN8LVHKunhz_WIwE,755
|
38
|
+
pycoze-0.1.352.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
39
|
+
pycoze-0.1.352.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
40
|
+
pycoze-0.1.352.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|