pycoze 0.1.479__py3-none-any.whl → 0.1.481__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.py CHANGED
@@ -117,6 +117,8 @@ def chat(bot_setting_file: str):
117
117
  folder_context = bot_setting["folderContext"]
118
118
  if folder_context:
119
119
  cwd = bot_setting["specifiedWorkingDirectory"]
120
+ if cwd is None:
121
+ cwd = tempfile.mkdtemp()
120
122
  else:
121
123
  cwd = tempfile.mkdtemp()
122
124
 
pycoze/bot/prompt.md CHANGED
@@ -291,7 +291,7 @@ def complete_all_tasks(result: str, command: str = None) -> None:
291
291
  Important Note: Before using this tool, you must ask yourself within `<thinking></thinking>` tags whether you have confirmed success from the user on any previous tool usage. If not, do not use this tool.
292
292
 
293
293
  Parameters:
294
- result (str): The short result of the task.
294
+ result (str): The short result of the final task.
295
295
  command (str, optional): A CLI command to show the live demonstration of your results. For example, use `open localhost:3000` to display a locally running development server. However, avoid commands like `echo` or `cat` that merely print text. This command should be suitable for the current operating system. Ensure the command is correctly formatted and contains no harmful instructions.
296
296
 
297
297
  Returns:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pycoze
3
- Version: 0.1.479
3
+ Version: 0.1.481
4
4
  Summary: Package for pycoze only!
5
5
  Author: Yuan Jie Xiong
6
6
  Author-email: aiqqqqqqq@qq.com
@@ -10,11 +10,11 @@ pycoze/api/lib/view.py,sha256=_PIpTfeuTPPlMDKshMGsqFQYMq7ZiO4Hg5XwHwDoU60,7357
10
10
  pycoze/api/lib/web.py,sha256=4HaOV_zYHq6-SSQQIc_O7REnC1asIlXIELxee-pU6zc,2421
11
11
  pycoze/api/lib/window.py,sha256=ZZacqnX0fvZUnLUhNVjbbjhBcKkYdi_6E0LswLp1MqM,2071
12
12
  pycoze/bot/__init__.py,sha256=rL3Q-ycczRpSFfKn84fg3QBl5k22WpyeIU5qOEjEby8,79
13
- pycoze/bot/chat.py,sha256=bScsMc0hGh2NlvhQxzWEbnA_WXU9JdAJv-rx27SpEB8,6554
13
+ pycoze/bot/chat.py,sha256=Jzn1kATGZIdayhX-VwPdWzcac7mLM99azC-8ulrHJ6U,6615
14
14
  pycoze/bot/chat_base.py,sha256=9GZb605aWzw-dWEM6ZQio88y0Fs_zA2O3nPnWCj-W7c,12784
15
15
  pycoze/bot/lib.py,sha256=WU4h3B7SG7vh9p9BxhtPlaJ7TkU9VsL3HyCn9hKhWOo,7753
16
16
  pycoze/bot/message.py,sha256=udnIi-h4QgGzkbr_5VcAsVGjoLp9wXJSfBCeuOz7_Bk,802
17
- pycoze/bot/prompt.md,sha256=fm3UyFzQuK9A5LHvLgi9ytF3liDCCzPilKILVjFCKt4,14307
17
+ pycoze/bot/prompt.md,sha256=l2RR3F3Zjp3NawJWCbd5cZslLgoq4eBpvppaXlezexU,14313
18
18
  pycoze/bot/tools.py,sha256=mbaCXFSTx72d2PaHPTolrJPe6n_9b2GxJ-eP6Mmm-kM,11160
19
19
  pycoze/reference/__init__.py,sha256=u25FWJnOBWsDRoL8_O4jzW4tkJrHT3Sqp9EGCxUhS3E,211
20
20
  pycoze/reference/bot.py,sha256=UZK24Qm8kpqpwXJy_zNZeTEEDee05luXdSBeUm0NCt0,2029
@@ -33,8 +33,8 @@ pycoze/utils/env.py,sha256=5pWlXfM1F5ZU9hhv1rHlDEanjEW5wf0nbyez9bNRqqA,559
33
33
  pycoze/utils/process.py,sha256=U2MURGmxfyWBqdbKfy5UvyV17M40B6HHlNELgWfgrTE,3824
34
34
  pycoze/utils/socket.py,sha256=4Wm4LlwdWXC_kAV0NnZbUc0Y3Kc6KRMyFRqSw79u-9w,2468
35
35
  pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
36
- pycoze-0.1.479.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
37
- pycoze-0.1.479.dist-info/METADATA,sha256=Z_Rcmo_67A82qCabE-5C49zYlILADDzm-tFFvFfgfKA,854
38
- pycoze-0.1.479.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
39
- pycoze-0.1.479.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
40
- pycoze-0.1.479.dist-info/RECORD,,
36
+ pycoze-0.1.481.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
37
+ pycoze-0.1.481.dist-info/METADATA,sha256=52nzN8jToKjQqSKXx5sCcjmZchzNZntAX-zGf234_ig,854
38
+ pycoze-0.1.481.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
39
+ pycoze-0.1.481.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
40
+ pycoze-0.1.481.dist-info/RECORD,,