beswarm 0.1.9__py3-none-any.whl → 0.1.10__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 +2 -0
- {beswarm-0.1.9.dist-info → beswarm-0.1.10.dist-info}/METADATA +1 -1
- {beswarm-0.1.9.dist-info → beswarm-0.1.10.dist-info}/RECORD +5 -5
- {beswarm-0.1.9.dist-info → beswarm-0.1.10.dist-info}/WHEEL +0 -0
- {beswarm-0.1.9.dist-info → beswarm-0.1.10.dist-info}/top_level.txt +0 -0
beswarm/tools/worker.py
CHANGED
@@ -88,6 +88,8 @@ async def worker(goal, tools, work_dir):
|
|
88
88
|
# 让指令agent分析对话历史并生成新指令
|
89
89
|
next_instruction = await instruction_agent.ask_async(instruction_prompt)
|
90
90
|
print("\n🤖 指令智能体生成的下一步指令:", next_instruction)
|
91
|
+
if "fetch_gpt_response_stream HTTP Error', 'status_code': 404" in next_instruction:
|
92
|
+
raise Exception(f"Model: {instruction_agent_config['engine']} not found!")
|
91
93
|
next_instruction = extract_xml_content(next_instruction, "instructions")
|
92
94
|
if not next_instruction:
|
93
95
|
print("\n❌ 指令智能体生成的指令不符合要求,请重新生成。")
|
@@ -54,8 +54,8 @@ beswarm/tools/planner.py,sha256=4uWZHuXj37-YIuz8MgHAlg_TO7EuHrfJFMn5eSK_v9M,1229
|
|
54
54
|
beswarm/tools/repomap.py,sha256=g-DNw4loTKau_F2cFlH6CEmua8JZomOtvaFgqdC4FA4,40680
|
55
55
|
beswarm/tools/search_arxiv.py,sha256=NF21a1VB7u6cWFv7RviLN-HEEe-zzuOVJob0d9nP5w4,7925
|
56
56
|
beswarm/tools/think.py,sha256=E1ey-cwMtOdOiNVJqKpcK1zdloAR3fByVAbDDmtDxYU,1748
|
57
|
-
beswarm/tools/worker.py,sha256=
|
58
|
-
beswarm-0.1.
|
59
|
-
beswarm-0.1.
|
60
|
-
beswarm-0.1.
|
61
|
-
beswarm-0.1.
|
57
|
+
beswarm/tools/worker.py,sha256=b-8b-9hStNDgyHd8BIM9_hwjvsDFoN62cfUX6YzIo0Q,4927
|
58
|
+
beswarm-0.1.10.dist-info/METADATA,sha256=xtvwuT4p2p1rl1CYeWgylV4slXnUmIFlnZsw5N-c3zM,1651
|
59
|
+
beswarm-0.1.10.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
60
|
+
beswarm-0.1.10.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
|
61
|
+
beswarm-0.1.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|