pycoze 0.1.435__py3-none-any.whl → 0.1.437__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/lib.py +3 -2
- {pycoze-0.1.435.dist-info → pycoze-0.1.437.dist-info}/METADATA +1 -1
- {pycoze-0.1.435.dist-info → pycoze-0.1.437.dist-info}/RECORD +6 -6
- {pycoze-0.1.435.dist-info → pycoze-0.1.437.dist-info}/LICENSE +0 -0
- {pycoze-0.1.435.dist-info → pycoze-0.1.437.dist-info}/WHEEL +0 -0
- {pycoze-0.1.435.dist-info → pycoze-0.1.437.dist-info}/top_level.txt +0 -0
pycoze/bot/lib.py
CHANGED
@@ -66,8 +66,9 @@ def get_system_prompt(abilities, bot_setting):
|
|
66
66
|
cd_prompt = "When executing outside the working directory, include the CD command, such as cd /path/to/directory && ls."
|
67
67
|
system = platform.system()
|
68
68
|
|
69
|
-
|
69
|
+
print("abilities", abilities)
|
70
70
|
abilities_str = "\n".join([function_to_string(a) for a in abilities])
|
71
|
+
print("abilities_str", abilities_str)
|
71
72
|
|
72
73
|
context = {
|
73
74
|
"prompt": bot_setting["prompt"],
|
@@ -94,7 +95,7 @@ def get_system_prompt(abilities, bot_setting):
|
|
94
95
|
if key != "folder_context" and bot_setting["systemAbility"][key] == True:
|
95
96
|
has_any_tool = True
|
96
97
|
break
|
97
|
-
|
98
|
+
|
98
99
|
context["has_any_tool"] = has_any_tool
|
99
100
|
system_prompt = template.render(context)
|
100
101
|
|
@@ -12,7 +12,7 @@ pycoze/api/lib/window.py,sha256=dkzWfLwn5pE_L0DfQ38K8nx9tQyT5KO-GYyXi0rytFc,2073
|
|
12
12
|
pycoze/bot/__init__.py,sha256=rL3Q-ycczRpSFfKn84fg3QBl5k22WpyeIU5qOEjEby8,79
|
13
13
|
pycoze/bot/chat.py,sha256=qEuMxH0cVFU9QSU36FrOsjhRAxtsvOv7CQtuXvM3F6Y,6446
|
14
14
|
pycoze/bot/chat_base.py,sha256=uwAVhhvpKHQytJYMsIOHsTThkr45xRehbXF0-kDbvjM,12614
|
15
|
-
pycoze/bot/lib.py,sha256=
|
15
|
+
pycoze/bot/lib.py,sha256=apDCbVhni18t16tugCVSWH4CYcOEBA5xusKnT9qkcJ0,7273
|
16
16
|
pycoze/bot/message.py,sha256=udnIi-h4QgGzkbr_5VcAsVGjoLp9wXJSfBCeuOz7_Bk,802
|
17
17
|
pycoze/bot/prompt.md,sha256=t7NQdiiNe-jCDVfeVbvTPfq5WK5nF8CxFUQUFMyXJlo,13880
|
18
18
|
pycoze/bot/tools.py,sha256=uFvGIQ4VzkiH-TM9U9RenWfYVYyeUv_bP-094hB9rTc,10367
|
@@ -31,8 +31,8 @@ pycoze/utils/arg.py,sha256=jop1tBfe5hYkHW1NSpCeaZBEznkgguBscj_7M2dWfrs,503
|
|
31
31
|
pycoze/utils/env.py,sha256=5pWlXfM1F5ZU9hhv1rHlDEanjEW5wf0nbyez9bNRqqA,559
|
32
32
|
pycoze/utils/socket.py,sha256=bZbFFRH4mfThzRqt55BAAGQ6eICx_ja4x8UGGrUdAm8,2428
|
33
33
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
34
|
-
pycoze-0.1.
|
35
|
-
pycoze-0.1.
|
36
|
-
pycoze-0.1.
|
37
|
-
pycoze-0.1.
|
38
|
-
pycoze-0.1.
|
34
|
+
pycoze-0.1.437.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
35
|
+
pycoze-0.1.437.dist-info/METADATA,sha256=ewd11YlMQ_6tGHb6R0xaFfL2MJ3EC1VhJDdN3Al0TtQ,854
|
36
|
+
pycoze-0.1.437.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
37
|
+
pycoze-0.1.437.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
38
|
+
pycoze-0.1.437.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|