beswarm 0.2.79__py3-none-any.whl → 0.2.80__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.
@@ -321,7 +321,7 @@ async def search_web(query: str):
321
321
  for item in final_web_content:
322
322
  item['query'] = query
323
323
  if 'content' in item and isinstance(item['content'], str):
324
- item['content'] = item['content'].encode('unicode_escape').decode('utf-8')
324
+ item['content'] = item['content'].replace('\r', '\\r').replace('\n', '\\n')
325
325
  writer.writerow(item)
326
326
  return f"已将筛选后的网页内容保存到 {csv_filepath.absolute()}"
327
327
  return "No web content"
beswarm/tools/subtasks.py CHANGED
@@ -153,7 +153,7 @@ def create_tasks_from_csv(goal_template: str, csv_file_path: str, tools_json_str
153
153
  csv_file_path (str): 输入的CSV文件的完整路径。CSV文件的第一行必须是列标题。
154
154
  tools_json_str (str): 一个JSON格式的字符串,表示所有子任务可用的工具列表。
155
155
  例如: '["read_file", "write_to_file"]'。
156
- base_work_dir (str): 所有子任务工作目录的根路径。每个子任务将在此目录下
156
+ base_work_dir (str): 所有子任务工作目录的根路径。每个子任务将在此目录下,**必须**使用绝对路径。
157
157
  创建一个以其唯一标识(如CSV中的id列)命名的子目录。base_work_dir **禁止** 设置为主任务目录本身。
158
158
 
159
159
  Returns:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beswarm
3
- Version: 0.2.79
3
+ Version: 0.2.80
4
4
  Summary: MAS
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -16,7 +16,7 @@ Requires-Dist: msgspec>=0.19.0
16
16
  Requires-Dist: networkx>=3.4.2
17
17
  Requires-Dist: numpy>=2.2.5
18
18
  Requires-Dist: pdfminer-six==20240706
19
- Requires-Dist: pillow>=11.2.1
19
+ Requires-Dist: pillow>=10.4.0
20
20
  Requires-Dist: pyautogui>=0.9.54
21
21
  Requires-Dist: pygments>=2.19.1
22
22
  Requires-Dist: pyperclip>=1.9.0
@@ -112,11 +112,11 @@ beswarm/tools/repomap.py,sha256=w98aHmjNjtvcUVc5maWORqzKqDy2KVGLooOe__uJVCU,4523
112
112
  beswarm/tools/request_input.py,sha256=3n2UW8m8Q7dxGhd7L7hzSJ1kk4ekMbtdtNZZT3dJf20,938
113
113
  beswarm/tools/screenshot.py,sha256=hyL6F8_k9Y03Nb_X18cY-klCpWWdkqyC-iGXfKX-7jc,1007
114
114
  beswarm/tools/search_arxiv.py,sha256=NLiJV1B7Um6EuZXLxnL950d837_he2LGG7qaGACSgwg,10750
115
- beswarm/tools/search_web.py,sha256=juFbife765vRZXpTHOV_6ki4h6NpSmZbBcWJ8Fp-uiE,17497
116
- beswarm/tools/subtasks.py,sha256=UI9QznALmZNbNOSoR_2AdlnDAkZBuKMq0GifnBCgpLo,10458
115
+ beswarm/tools/search_web.py,sha256=0fTeczXiOX_LJQGaLEGbuJtIPzofeuquGWEt3yDMtVw,17498
116
+ beswarm/tools/subtasks.py,sha256=4wJWNAqRFgvwmDOP12SddYo_OteWBU5cLhLBh6xILk8,10492
117
117
  beswarm/tools/worker.py,sha256=mQ1qdrQ8MgL99byAbTvxfEByFFGN9mty3UHqHjARMQ8,2331
118
118
  beswarm/tools/write_csv.py,sha256=u0Hq18Ksfheb52MVtyLNCnSDHibITpsYBPs2ub7USYA,1466
119
- beswarm-0.2.79.dist-info/METADATA,sha256=owpFd3kO5L7n5-r1RpUs25emR-2kpRJ4SIasXxExmbQ,3878
120
- beswarm-0.2.79.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
121
- beswarm-0.2.79.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
122
- beswarm-0.2.79.dist-info/RECORD,,
119
+ beswarm-0.2.80.dist-info/METADATA,sha256=AQbdPBNicvv9joqSWzLMjKPP9gA5ngHmetxtmzahQAM,3878
120
+ beswarm-0.2.80.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
121
+ beswarm-0.2.80.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
122
+ beswarm-0.2.80.dist-info/RECORD,,