beswarm 0.2.30__py3-none-any.whl → 0.2.31__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.

Potentially problematic release.


This version of beswarm might be problematic. Click here for more details.

@@ -364,7 +364,7 @@ if __name__ == '__main__':
364
364
  # search_query = "美国"
365
365
  # search_query = "machine learning models for higher heating value prediction using proximate vs ultimate analysis"
366
366
  # search_query = "patent driver cognitive load monitoring micro-expression thermal imaging fusion"
367
- search_query = "lithium-ion battery remaining useful life prediction machine learning"
367
+ search_query = "Self-supervised learning for seismology"
368
368
  print(f"Performing web search for: '{search_query}'")
369
369
  results = await search_web(search_query) # results is a list of URLs
370
370
 
beswarm/tools/worker.py CHANGED
@@ -169,7 +169,8 @@ async def worker(goal, tools, work_dir, cache_messages=None):
169
169
  print("\n🤖 指令智能体生成的下一步指令:", next_instruction)
170
170
  if "fetch_gpt_response_stream HTTP Error', 'status_code': 404" in next_instruction:
171
171
  raise Exception(f"Model: {instruction_agent_config['engine']} not found!")
172
- if "'status_code': 413" in next_instruction:
172
+ if "'status_code': 413" in next_instruction or \
173
+ "'status_code': 400" in next_instruction:
173
174
  end_time = datetime.now()
174
175
  total_time = end_time - start_time
175
176
  print(f"\n任务开始时间: {start_time.strftime('%Y-%m-%d %H:%M:%S')}")
@@ -378,7 +379,8 @@ async def worker_gen(goal, tools, work_dir, cache_messages=None):
378
379
  print("\n🤖 指令智能体生成的下一步指令:", next_instruction)
379
380
  if "fetch_gpt_response_stream HTTP Error', 'status_code': 404" in next_instruction:
380
381
  raise Exception(f"Model: {instruction_agent_config['engine']} not found!")
381
- if "'status_code': 413" in next_instruction:
382
+ if "'status_code': 413" in next_instruction or \
383
+ "'status_code': 400" in next_instruction:
382
384
  end_time = datetime.now()
383
385
  total_time = end_time - start_time
384
386
  print(f"\n任务开始时间: {start_time.strftime('%Y-%m-%d %H:%M:%S')}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beswarm
3
- Version: 0.2.30
3
+ Version: 0.2.31
4
4
  Summary: MAS
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -134,10 +134,10 @@ beswarm/tools/repomap.py,sha256=YsTPq5MXfn_Ds5begcvHDnY_Xp2d4jH-xmWqNMHnNHY,4523
134
134
  beswarm/tools/request_input.py,sha256=gXNAJPOJektMqxJVyzNTFOeMQ7xUkO-wWMYH-r2Rdwk,942
135
135
  beswarm/tools/screenshot.py,sha256=u6t8FCgW5YHJ_Oc4coo8e0F3wTusWE_-H8dFh1rBq9Q,1011
136
136
  beswarm/tools/search_arxiv.py,sha256=caVIUOzMhFu-r_gVgJZrH2EO9xI5iV_qLAg0b3Ie9Xg,8095
137
- beswarm/tools/search_web.py,sha256=iyWe7HoayLRHh_iX2_rPG2a-wsNK7UoBlKx79v9AfJM,16225
137
+ beswarm/tools/search_web.py,sha256=ybbdbJq80plooXLMiyjAMOSCEyZJ0hquGUpabBhfFx0,16195
138
138
  beswarm/tools/taskmanager.py,sha256=rVLB0xwteT-5y9svmJ68K65U3JuX9BJGvqNzyxPvjaI,12178
139
- beswarm/tools/worker.py,sha256=JZAdsH-wKc-GfYXK95g-9bwzuDqgsXd4T_ple14Cjhc,23423
140
- beswarm-0.2.30.dist-info/METADATA,sha256=SVV0YIcqydD_PJmvxtVgTQsHBp5Ikz5T-qzCrn7Ld4M,3847
141
- beswarm-0.2.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
142
- beswarm-0.2.30.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
143
- beswarm-0.2.30.dist-info/RECORD,,
139
+ beswarm/tools/worker.py,sha256=s6tN4JhA07qzTlP7xWiB0MjnBIJ6XSrtlJTA_RqG1_A,23539
140
+ beswarm-0.2.31.dist-info/METADATA,sha256=F5sShEmQQKo5WI3xjLjlxnq-epXXZDR9C_k7Je8nDWY,3847
141
+ beswarm-0.2.31.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
142
+ beswarm-0.2.31.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
143
+ beswarm-0.2.31.dist-info/RECORD,,