aient 1.0.54__py3-none-any.whl → 1.0.56__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.
@@ -10,7 +10,7 @@ def read_file(file_path):
10
10
  Description: Request to read the contents of a file at the specified path. Use this when you need to examine the contents of an existing file you do not know the contents of, for example to analyze code, review text files, or extract information from configuration files. Automatically extracts raw text from PDF and DOCX files. May not be suitable for other types of binary files, as it returns the raw content as a string.
11
11
 
12
12
  注意:
13
- 1. pdf 文件 必须使用 read_file 读取
13
+ 1. pdf 文件 必须使用 read_file 读取,可以使用 read_file 直接读取 PDF。
14
14
 
15
15
  参数:
16
16
  file_path: 要读取的文件路径,(required) The path of the file to read (relative to the current working directory)
aient/prompt/agent.py CHANGED
@@ -123,6 +123,7 @@ instruction_system_prompt = """
123
123
  你需要分析工作智能体的对话历史,并生成下一步指令。
124
124
  根据任务目标和当前进度,提供清晰明确的指令。
125
125
  持续引导工作智能体直到任务完成。
126
+ 如果你给出了工具调用明确的指令,但是assistant没有通过xml格式调用工具,却认为自己已经调用了,请提醒他必须自己使用xml格式调用。
126
127
 
127
128
  你需要称呼工作智能体为“你”,指令禁止使用疑问句,必须使用祈使句。
128
129
  所有回复必须使用中文。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aient
3
- Version: 1.0.54
3
+ Version: 1.0.56
4
4
  Summary: Aient: The Awakening of Agent.
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -25,17 +25,17 @@ aient/plugins/excute_command.py,sha256=3jh0o3K33GfcHvNywCTvhU5axN5CDi20ZPer4SwWZ
25
25
  aient/plugins/get_time.py,sha256=Ih5XIW5SDAIhrZ9W4Qe5Hs1k4ieKPUc_LAd6ySNyqZk,654
26
26
  aient/plugins/image.py,sha256=ZElCIaZznE06TN9xW3DrSukS7U3A5_cjk1Jge4NzPxw,2072
27
27
  aient/plugins/list_directory.py,sha256=5ubm-mfrj-tanGSDp4M_Tmb6vQb3dx2-XVfQ2yL2G8A,1394
28
- aient/plugins/read_file.py,sha256=uVCzFt9oivCjTjuWC0ea1wf_m2LVB95pu7qBmPtjvEo,2324
28
+ aient/plugins/read_file.py,sha256=kjHqtAGSy6AV8kFpv342x6yWGYfvZ9LGmxFZXJ3XzQI,2369
29
29
  aient/plugins/registry.py,sha256=YknzhieU_8nQ3oKlUSSWDB4X7t2Jx0JnqT2Jd9Xsvfk,3574
30
30
  aient/plugins/run_python.py,sha256=dgcUwBunMuDkaSKR5bToudVzSdrXVewktDDFUz_iIOQ,4589
31
31
  aient/plugins/websearch.py,sha256=yiBzqXK5X220ibR-zko3VDsn4QOnLu1k6E2YOygCeTQ,15185
32
32
  aient/prompt/__init__.py,sha256=GBtn6-JDT8KHFCcuPpfSNE_aGddg5p4FEyMCy4BfwGs,20
33
- aient/prompt/agent.py,sha256=3yJbgE2o0T5KWdcNMrU7M_UfN937e2cVtYakMqGzrw4,23198
33
+ aient/prompt/agent.py,sha256=2EWCsoWQQW2IRsCdUN-9GgMeMyPH55gAZDEtTnxhsR0,23379
34
34
  aient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  aient/utils/prompt.py,sha256=UcSzKkFE4-h_1b6NofI6xgk3GoleqALRKY8VBaXLjmI,11311
36
36
  aient/utils/scripts.py,sha256=n0jR5eXCBIK12W4bIx-xU1FVl1hZ4zDC7hq_BWQHYJU,27537
37
- aient-1.0.54.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
38
- aient-1.0.54.dist-info/METADATA,sha256=rsWkFtnCKFrRgQ0yDenjwg7WG_xGUq1E6vjVsMg_R-o,4973
39
- aient-1.0.54.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
40
- aient-1.0.54.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
41
- aient-1.0.54.dist-info/RECORD,,
37
+ aient-1.0.56.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
38
+ aient-1.0.56.dist-info/METADATA,sha256=kCeyRrXGIOvRkLvxRZe-Mae08RBCknqho7kfOvFsij8,4973
39
+ aient-1.0.56.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
40
+ aient-1.0.56.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
41
+ aient-1.0.56.dist-info/RECORD,,
File without changes