aient 1.0.55__py3-none-any.whl → 1.0.57__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
@@ -134,8 +134,9 @@ instruction_system_prompt = """
134
134
 
135
135
  1. 首先分析当前对话历史。其中user就是你发送给工作智能体的指令。assistant就是工作智能体的回复。
136
136
  2. 根据任务目标和当前进度,分析还需要哪些步骤。
137
- 3. 检查工作智能体可以使用哪些工具后,确定需要调用哪些工具。请明确要求工作智能体使用特定工具。如果工作智能体不清楚工具的参数,请直接告诉它。
138
- 4. 最后将你的指令放在<instructions>标签中。
137
+ 3. 检查当前对话历史中,工作智能体是否陷入困境,如果陷入困境,请思考可能的原因和解决方案。
138
+ 4. 检查工作智能体可以使用哪些工具后,确定需要调用哪些工具。请明确要求工作智能体使用特定工具。如果工作智能体不清楚工具的参数,请直接告诉它。
139
+ 5. 最后将你的指令放在<instructions>标签中。
139
140
 
140
141
  你的回复格式如下:
141
142
 
@@ -145,9 +146,11 @@ instruction_system_prompt = """
145
146
 
146
147
  {{3.分析还需要哪些步骤}}
147
148
 
148
- {{4.检查工作智能体可以使用哪些工具}}
149
+ {{4.检查工作智能体是否陷入困境,分析可能的原因和解决方案}}
149
150
 
150
- {{5.确定需要调用哪些工具}}
151
+ {{5.检查工作智能体可以使用哪些工具}}
152
+
153
+ {{6.确定需要调用哪些工具}}
151
154
 
152
155
  <instructions>
153
156
  {{work_agent_instructions}}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aient
3
- Version: 1.0.55
3
+ Version: 1.0.57
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=2EWCsoWQQW2IRsCdUN-9GgMeMyPH55gAZDEtTnxhsR0,23379
33
+ aient/prompt/agent.py,sha256=h39WOoafv0_lh2coBCiG9k-VWa3Yi9HRZV0hnvsc4gs,23598
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.55.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
38
- aient-1.0.55.dist-info/METADATA,sha256=HkCrGkSj3soFVC-CEGB73OHhXjE6uIkLBu9cm5zirv4,4973
39
- aient-1.0.55.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
40
- aient-1.0.55.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
41
- aient-1.0.55.dist-info/RECORD,,
37
+ aient-1.0.57.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
38
+ aient-1.0.57.dist-info/METADATA,sha256=N_MGVOSo2bcpuO4S4S_5iaNgMCRf3G-wENZu1w97C0Q,4973
39
+ aient-1.0.57.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
40
+ aient-1.0.57.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
41
+ aient-1.0.57.dist-info/RECORD,,
File without changes