aient 1.1.68__py3-none-any.whl → 1.1.69__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.
- aient/models/chatgpt.py +3 -0
- {aient-1.1.68.dist-info → aient-1.1.69.dist-info}/METADATA +1 -1
- {aient-1.1.68.dist-info → aient-1.1.69.dist-info}/RECORD +6 -6
- {aient-1.1.68.dist-info → aient-1.1.69.dist-info}/WHEEL +0 -0
- {aient-1.1.68.dist-info → aient-1.1.69.dist-info}/licenses/LICENSE +0 -0
- {aient-1.1.68.dist-info → aient-1.1.69.dist-info}/top_level.txt +0 -0
aient/models/chatgpt.py
CHANGED
@@ -637,6 +637,9 @@ class chatgpt(BaseLLM):
|
|
637
637
|
else:
|
638
638
|
all_responses.append(f"[{tool_name}({tool_args}) Result]:\n\n{tool_response}")
|
639
639
|
|
640
|
+
if self.check_done:
|
641
|
+
all_responses.append("Your message **must** end with [done] to signify the end of your output.")
|
642
|
+
|
640
643
|
# 合并所有工具响应
|
641
644
|
function_response = "\n\n".join(all_responses).strip()
|
642
645
|
if missing_required_params:
|
@@ -12,7 +12,7 @@ aient/core/test/test_payload.py,sha256=8jBiJY1uidm1jzL-EiK0s6UGmW9XkdsuuKFGrwFhF
|
|
12
12
|
aient/models/__init__.py,sha256=ZTiZgbfBPTjIPSKURE7t6hlFBVLRS9lluGbmqc1WjxQ,43
|
13
13
|
aient/models/audio.py,sha256=kRd-8-WXzv4vwvsTGwnstK-WR8--vr9CdfCZzu8y9LA,1934
|
14
14
|
aient/models/base.py,sha256=-nnihYnx-vHZMqeVO9ljjt3k4FcD3n-iMk4tT-10nRQ,7232
|
15
|
-
aient/models/chatgpt.py,sha256=
|
15
|
+
aient/models/chatgpt.py,sha256=zPPzZOEFilHXvz82oZ-qVvIYyJjtXmyR0sV-XbVgq3A,49550
|
16
16
|
aient/plugins/__init__.py,sha256=p3KO6Aa3Lupos4i2SjzLQw1hzQTigOAfEHngsldrsyk,986
|
17
17
|
aient/plugins/arXiv.py,sha256=yHjb6PS3GUWazpOYRMKMzghKJlxnZ5TX8z9F6UtUVow,1461
|
18
18
|
aient/plugins/config.py,sha256=2DXH-LP9KGl_P4467chJu3q4AAbX5nSn4DIkdI0aYH8,7105
|
@@ -30,8 +30,8 @@ aient/plugins/write_file.py,sha256=Jt8fOEwqhYiSWpCbwfAr1xoi_BmFnx3076GMhuL06uI,3
|
|
30
30
|
aient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
31
31
|
aient/utils/prompt.py,sha256=UcSzKkFE4-h_1b6NofI6xgk3GoleqALRKY8VBaXLjmI,11311
|
32
32
|
aient/utils/scripts.py,sha256=VqtK4RFEx7KxkmcqG3lFDS1DxoNlFFGErEjopVcc8IE,40974
|
33
|
-
aient-1.1.
|
34
|
-
aient-1.1.
|
35
|
-
aient-1.1.
|
36
|
-
aient-1.1.
|
37
|
-
aient-1.1.
|
33
|
+
aient-1.1.69.dist-info/licenses/LICENSE,sha256=XNdbcWldt0yaNXXWB_Bakoqnxb3OVhUft4MgMA_71ds,1051
|
34
|
+
aient-1.1.69.dist-info/METADATA,sha256=ADW1M_kaQQq5b_EZsANSoDY7DyYbm7tXYDqCZZtenzg,4842
|
35
|
+
aient-1.1.69.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
36
|
+
aient-1.1.69.dist-info/top_level.txt,sha256=3oXzrP5sAVvyyqabpeq8A2_vfMtY554r4bVE-OHBrZk,6
|
37
|
+
aient-1.1.69.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|