pycoze 0.1.46__py3-none-any.whl → 0.1.47__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/bot.py +1 -1
- {pycoze-0.1.46.dist-info → pycoze-0.1.47.dist-info}/METADATA +1 -1
- {pycoze-0.1.46.dist-info → pycoze-0.1.47.dist-info}/RECORD +6 -6
- {pycoze-0.1.46.dist-info → pycoze-0.1.47.dist-info}/LICENSE +0 -0
- {pycoze-0.1.46.dist-info → pycoze-0.1.47.dist-info}/WHEEL +0 -0
- {pycoze-0.1.46.dist-info → pycoze-0.1.47.dist-info}/top_level.txt +0 -0
pycoze/bot/bot.py
CHANGED
@@ -47,7 +47,7 @@ def agent_chat(bot_setting_file, history):
|
|
47
47
|
prompt = role_setting["prompt"]
|
48
48
|
if cfg["model"].startswith("deepseek") and len(tools) > 0:
|
49
49
|
prompt += """
|
50
|
-
如果需要调用工具,请使用以下面json格式进行结尾:
|
50
|
+
如果需要调用工具,请使用以下面markdown的json格式进行结尾:
|
51
51
|
```json
|
52
52
|
{"name": 函数名, "parameters": 参数词典}
|
53
53
|
```
|
@@ -3,7 +3,7 @@ pycoze/module.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
pycoze/access/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
pycoze/access/tool_for_bot.py,sha256=Nv6XlxcqaLaMVQNDkpcthlqaSxyfHoOfWiTScQXO22Y,2656
|
5
5
|
pycoze/bot/__init__.py,sha256=pciDtfcIXda7iFt9uI5Fpm0JKpGBhdXHmJv4966WTVU,21
|
6
|
-
pycoze/bot/bot.py,sha256=
|
6
|
+
pycoze/bot/bot.py,sha256=THRLu45TLzK6Np6m7122q0OdAPQDqKfGLuEt_BNPdog,2521
|
7
7
|
pycoze/bot/agent/__init__.py,sha256=IaYqQCJ3uBor92JdOxI_EY4HtYOHgej8lijr3UrN1Vc,161
|
8
8
|
pycoze/bot/agent/agent.py,sha256=uEkPpHX3xODlDjj2Qz90N9bSdCIQzW9wHxOpxvIegzo,4367
|
9
9
|
pycoze/bot/agent/assistant.py,sha256=QLeWaPi415P9jruYOm8qcIbC94cXXAhJYmLTkyC9NTQ,1267
|
@@ -22,8 +22,8 @@ pycoze/ui/ui_def.py,sha256=CNFYH8NC-WYmbceIPpxsRr9H6O006pMKukx7U-BOE1Q,3744
|
|
22
22
|
pycoze/utils/__init__.py,sha256=KExBkotf23dr2NfTEouWke5nJB1q2IuDXgHrmuyd95k,73
|
23
23
|
pycoze/utils/arg.py,sha256=rRujm1zKc0XlnNlpIJ6JAAaFiTzDGmL_RliIpSc5OD8,724
|
24
24
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
25
|
-
pycoze-0.1.
|
26
|
-
pycoze-0.1.
|
27
|
-
pycoze-0.1.
|
28
|
-
pycoze-0.1.
|
29
|
-
pycoze-0.1.
|
25
|
+
pycoze-0.1.47.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
26
|
+
pycoze-0.1.47.dist-info/METADATA,sha256=zcLkpDCvuWtCbTcL6c5kUmz14GItN7gNLm8hGur3sEU,719
|
27
|
+
pycoze-0.1.47.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
28
|
+
pycoze-0.1.47.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
29
|
+
pycoze-0.1.47.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|