beswarm 0.2.92__py3-none-any.whl → 0.2.94__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.
@@ -586,7 +586,7 @@ class chatgpt(BaseLLM):
586
586
  if tool_name == "read_file" and "<tool_error>" not in tool_response:
587
587
  self.conversation[convo_id].provider("files").update(tool_info['parameter']["file_path"], tool_response)
588
588
  all_responses.append(f"[{tool_name}({tool_args}) Result]:\n\nRead file successfully! The file content has been updated in the tag <latest_file_content>.")
589
- if tool_name == "get_knowledge_graph_tree" and "<tool_error>" not in tool_response:
589
+ elif tool_name == "get_knowledge_graph_tree" and "<tool_error>" not in tool_response:
590
590
  self.conversation[convo_id].provider("knowledge_graph").visible = True
591
591
  all_responses.append(f"[{tool_name}({tool_args}) Result]:\n\nGet knowledge graph tree successfully! The knowledge graph tree has been updated in the tag <knowledge_graph_tree>.")
592
592
  elif tool_name == "write_to_file" and "<tool_error>" not in tool_response:
@@ -1,25 +1,31 @@
1
1
  from datetime import datetime
2
2
 
3
- from beswarm.tools import (
4
- worker,
5
- get_code_repo_map,
6
- search_arxiv,
7
- read_file,
8
- list_directory,
9
- excute_command,
3
+ from ..aient.aient.plugins import (
4
+ # read_file,
5
+ # read_image,
6
+ register_tool,
10
7
  write_to_file,
11
- download_read_arxiv_pdf,
12
- edit_file,
8
+ excute_command,
9
+ # list_directory,
10
+ # get_url_content,
11
+ # run_python_script,
12
+ # set_readonly_path,
13
+ # get_search_results,
14
+ # download_read_arxiv_pdf,
15
+ )
16
+
17
+
18
+ from beswarm.tools import (
19
+ # worker,
20
+ # get_code_repo_map,
21
+ # search_arxiv,
22
+ # edit_file,
23
+ # request_admin_input,
13
24
  search_web,
14
- get_url_content,
15
- read_image,
16
- set_readonly_path,
17
- request_admin_input,
18
25
  create_task,
19
26
  get_task_result,
20
27
  get_all_tasks_status,
21
28
  resume_task,
22
- register_tool,
23
29
  create_tasks_from_csv,
24
30
  get_node_details,
25
31
  add_knowledge_node,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beswarm
3
- Version: 0.2.92
3
+ Version: 0.2.94
4
4
  Summary: MAS
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -26,7 +26,7 @@ beswarm/aient/aient/core/test/test_payload.py,sha256=8jBiJY1uidm1jzL-EiK0s6UGmW9
26
26
  beswarm/aient/aient/models/__init__.py,sha256=ZTiZgbfBPTjIPSKURE7t6hlFBVLRS9lluGbmqc1WjxQ,43
27
27
  beswarm/aient/aient/models/audio.py,sha256=kRd-8-WXzv4vwvsTGwnstK-WR8--vr9CdfCZzu8y9LA,1934
28
28
  beswarm/aient/aient/models/base.py,sha256=-nnihYnx-vHZMqeVO9ljjt3k4FcD3n-iMk4tT-10nRQ,7232
29
- beswarm/aient/aient/models/chatgpt.py,sha256=gEOwukH-t9bHbW9ctyYiQ671NeHyIz8yP1QG4fLTKY8,42604
29
+ beswarm/aient/aient/models/chatgpt.py,sha256=96E6Ggsy49GS_KWECi5agE0zeaEjaHTRd336fykyIJI,42606
30
30
  beswarm/aient/aient/plugins/__init__.py,sha256=p3KO6Aa3Lupos4i2SjzLQw1hzQTigOAfEHngsldrsyk,986
31
31
  beswarm/aient/aient/plugins/arXiv.py,sha256=yHjb6PS3GUWazpOYRMKMzghKJlxnZ5TX8z9F6UtUVow,1461
32
32
  beswarm/aient/aient/plugins/config.py,sha256=TGgZ5SnNKZ8MmdznrZ-TEq7s2ulhAAwTSKH89bci3dA,7079
@@ -110,7 +110,7 @@ beswarm/queries/tree-sitter-languages/typescript-tags.scm,sha256=OMdCeedPiA24ky8
110
110
  beswarm/tools/__init__.py,sha256=7QHfhDaM12CG0sZ07yz-AOxtW2Hbrzuhn-g44pKyZ4c,2131
111
111
  beswarm/tools/click.py,sha256=wu-Ov5U2ZZLcU0gennDVh_2w_Td7F4dbVJcmu_dfHV4,20872
112
112
  beswarm/tools/completion.py,sha256=AIHtEHfSp6fs4Xa_nTcw9fLgXtYHtYGRDTSy7_x_Fak,544
113
- beswarm/tools/deep_search.py,sha256=19OI-zo9Z5Hy_HCEv2fLZwRVq44qcyvLapB0H7nQjKE,20202
113
+ beswarm/tools/deep_search.py,sha256=qur4sHGGfGmpGrMTnSNAdeyYjhjL5hX270LUqUENgIY,20315
114
114
  beswarm/tools/edit_file.py,sha256=ZTJvbpsfRlp2t98kTn9XQ5qZBTdsWJVWv9t0lvK4RfU,9147
115
115
  beswarm/tools/graph.py,sha256=Ni51LCB65bLDDLC3ZyEJj_BeHAzhimhFgH9Ekr56Ll8,5871
116
116
  beswarm/tools/planner.py,sha256=vsHd7rE8RQHJrZ7BQ0ZXhbt4Fjh3DeyxU4piA5R-VPM,1253
@@ -122,7 +122,7 @@ beswarm/tools/search_web.py,sha256=0fTeczXiOX_LJQGaLEGbuJtIPzofeuquGWEt3yDMtVw,1
122
122
  beswarm/tools/subtasks.py,sha256=NHDnmUhUPgDQKBACnpgErpFJRcsH0w_Q9VsyQjNvNHA,12658
123
123
  beswarm/tools/worker.py,sha256=mQ1qdrQ8MgL99byAbTvxfEByFFGN9mty3UHqHjARMQ8,2331
124
124
  beswarm/tools/write_csv.py,sha256=u0Hq18Ksfheb52MVtyLNCnSDHibITpsYBPs2ub7USYA,1466
125
- beswarm-0.2.92.dist-info/METADATA,sha256=LuVaw36oKRY3QmOs3cTNd4J-yHfx3gE4xx-wMz8UFPI,3878
126
- beswarm-0.2.92.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
127
- beswarm-0.2.92.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
128
- beswarm-0.2.92.dist-info/RECORD,,
125
+ beswarm-0.2.94.dist-info/METADATA,sha256=1EjZIEk_5HUDXVCQBDuw10Ylu73BGqZXOtJHtJXlXko,3878
126
+ beswarm-0.2.94.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
127
+ beswarm-0.2.94.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
128
+ beswarm-0.2.94.dist-info/RECORD,,