aient 1.0.55__tar.gz → 1.0.57__tar.gz
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.
- {aient-1.0.55/src/aient.egg-info → aient-1.0.57}/PKG-INFO +1 -1
- {aient-1.0.55 → aient-1.0.57}/setup.py +1 -1
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/read_file.py +1 -1
- {aient-1.0.55 → aient-1.0.57}/src/aient/prompt/agent.py +7 -4
- {aient-1.0.55 → aient-1.0.57/src/aient.egg-info}/PKG-INFO +1 -1
- {aient-1.0.55 → aient-1.0.57}/LICENSE +0 -0
- {aient-1.0.55 → aient-1.0.57}/MANIFEST.in +0 -0
- {aient-1.0.55 → aient-1.0.57}/README.md +0 -0
- {aient-1.0.55 → aient-1.0.57}/setup.cfg +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/__init__.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/.git +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/__init__.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/log_config.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/models.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/request.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/response.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/test/test_base_api.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/test/test_image.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/test/test_payload.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/core/utils.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/__init__.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/audio.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/base.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/chatgpt.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/claude.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/duckduckgo.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/gemini.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/groq.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/models/vertex.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/__init__.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/arXiv.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/config.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/excute_command.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/get_time.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/image.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/list_directory.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/registry.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/run_python.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/plugins/websearch.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/prompt/__init__.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/utils/__init__.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/utils/prompt.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient/utils/scripts.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient.egg-info/SOURCES.txt +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient.egg-info/dependency_links.txt +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient.egg-info/requires.txt +0 -0
- {aient-1.0.55 → aient-1.0.57}/src/aient.egg-info/top_level.txt +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_API.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_Deepbricks.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_Web_crawler.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_aiwaves.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_aiwaves_arxiv.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_ask_gemini.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_class.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_claude.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_claude_zh_char.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_ddg_search.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_download_pdf.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_gemini.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_get_token_dict.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_google_search.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_jieba.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_json.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_langchain_search_old.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_logging.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_ollama.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_plugin.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_py_run.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_requests.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_search.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_tikitoken.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_token.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_url.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_whisper.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_wildcard.py +0 -0
- {aient-1.0.55 → aient-1.0.57}/test/test_yjh.py +0 -0
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
|
|
4
4
|
|
5
5
|
setup(
|
6
6
|
name="aient",
|
7
|
-
version="1.0.
|
7
|
+
version="1.0.57",
|
8
8
|
description="Aient: The Awakening of Agent.",
|
9
9
|
long_description=Path.open(Path("README.md"), encoding="utf-8").read(),
|
10
10
|
long_description_content_type="text/markdown",
|
@@ -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)
|
@@ -134,8 +134,9 @@ instruction_system_prompt = """
|
|
134
134
|
|
135
135
|
1. 首先分析当前对话历史。其中user就是你发送给工作智能体的指令。assistant就是工作智能体的回复。
|
136
136
|
2. 根据任务目标和当前进度,分析还需要哪些步骤。
|
137
|
-
3.
|
138
|
-
4.
|
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}}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|