beswarm 0.2.8__py3-none-any.whl → 0.2.9__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.
beswarm/tools/worker.py
CHANGED
@@ -164,8 +164,6 @@ async def worker(goal, tools, work_dir, cache_messages=None):
|
|
164
164
|
raise Exception(f"The request body is too long, please try again.")
|
165
165
|
if "任务已完成" == next_instruction.strip():
|
166
166
|
break
|
167
|
-
if "<instructions>" in next_instruction and "</instructions>" not in next_instruction:
|
168
|
-
next_instruction = next_instruction + "\n</instructions>"
|
169
167
|
last_instruction = next_instruction
|
170
168
|
next_instruction = extract_xml_content(next_instruction, "instructions")
|
171
169
|
if not next_instruction:
|
@@ -359,8 +357,6 @@ async def worker_gen(goal, tools, work_dir, cache_messages=None):
|
|
359
357
|
raise Exception(f"The request body is too long, please try again.")
|
360
358
|
if "任务已完成" == next_instruction.strip():
|
361
359
|
break
|
362
|
-
if "<instructions>" in next_instruction and "</instructions>" not in next_instruction:
|
363
|
-
next_instruction = next_instruction + "\n</instructions>"
|
364
360
|
last_instruction = next_instruction
|
365
361
|
next_instruction = extract_xml_content(next_instruction, "instructions")
|
366
362
|
if not next_instruction:
|
@@ -133,8 +133,8 @@ beswarm/tools/repomap.py,sha256=YsTPq5MXfn_Ds5begcvHDnY_Xp2d4jH-xmWqNMHnNHY,4523
|
|
133
133
|
beswarm/tools/screenshot.py,sha256=u6t8FCgW5YHJ_Oc4coo8e0F3wTusWE_-H8dFh1rBq9Q,1011
|
134
134
|
beswarm/tools/search_arxiv.py,sha256=GpuIOYX8T0iRC-X-hmuR9AUJVn15WWZq864DaoC7BUc,8004
|
135
135
|
beswarm/tools/search_web.py,sha256=w0T0aCqOVlb6Of5hn_TtpnrGXo6bMtw2aKZdkrYjycI,12069
|
136
|
-
beswarm/tools/worker.py,sha256=
|
137
|
-
beswarm-0.2.
|
138
|
-
beswarm-0.2.
|
139
|
-
beswarm-0.2.
|
140
|
-
beswarm-0.2.
|
136
|
+
beswarm/tools/worker.py,sha256=Z6IwkhuJjxDKR-J8CT_v-oPEz52cq2iJJJ-uk5HajI8,22313
|
137
|
+
beswarm-0.2.9.dist-info/METADATA,sha256=a-LcF96g5iXh3sz1MeAKzcWsZinyx9sKc-a-NlEW-ko,3846
|
138
|
+
beswarm-0.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
139
|
+
beswarm-0.2.9.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
|
140
|
+
beswarm-0.2.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|