xgae 0.3.2__py3-none-any.whl → 0.3.4__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 xgae might be problematic. Click here for more details.
xgae/gaia2/are_engine.py
CHANGED
|
@@ -4,6 +4,7 @@ from typing_extensions import override
|
|
|
4
4
|
|
|
5
5
|
from xgae.engine.engine_base import XGAToolBox
|
|
6
6
|
from xgae.engine.task_engine import XGATaskEngine
|
|
7
|
+
from xgae.engine.prompt_builder import XGAPromptBuilder
|
|
7
8
|
from xgae.utils.llm_client import LLMConfig
|
|
8
9
|
|
|
9
10
|
|
|
@@ -15,6 +16,7 @@ class ARETaskEngine(XGATaskEngine):
|
|
|
15
16
|
max_auto_run: int,
|
|
16
17
|
llm_config: Optional[LLMConfig] = None,
|
|
17
18
|
tool_box: Optional[XGAToolBox] = None,
|
|
19
|
+
prompt_builder: Optional[XGAPromptBuilder] = None,
|
|
18
20
|
pre_run_task_fn : Callable[[Any, int, List[Dict[str, Any]]], Any] = None,
|
|
19
21
|
post_run_task_fn : Callable[[Any, int, Dict[str, Any]], Any] = None,
|
|
20
22
|
terminate_task_fn : Callable[[Any, int], bool] = None,
|
|
@@ -26,6 +28,7 @@ class ARETaskEngine(XGATaskEngine):
|
|
|
26
28
|
max_auto_run = max_auto_run,
|
|
27
29
|
llm_config = llm_config,
|
|
28
30
|
tool_box = tool_box,
|
|
31
|
+
prompt_builder = prompt_builder,
|
|
29
32
|
)
|
|
30
33
|
self.agent = agent
|
|
31
34
|
self.pre_run_task_fn = pre_run_task_fn
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xgae
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Extreme General Agent Engine
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: colorlog>=6.9.0
|
|
@@ -19,7 +19,7 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
- Support Custom prompt and external MCP Tools
|
|
20
20
|
- Support Langfuse
|
|
21
21
|
- Support Langgraph
|
|
22
|
-
- Support GAIA2 ARE agent
|
|
22
|
+
- Support GAIA2 ARE agent and Custom MCP Apps
|
|
23
23
|
- Support Human-in-Loop in agent
|
|
24
24
|
- Can Use A2A protocol call A2A Agent as tool by 'xgaproxy' project
|
|
25
25
|
- Can Use E2B or Daytona Sandbox of 'xgatools' project
|
|
@@ -8,7 +8,7 @@ xgae/engine/task_langfuse.py,sha256=ifkGrPBv2daLTKE-fCfEtOoI0n4Pd-lCwhyRRL0h308,
|
|
|
8
8
|
xgae/engine/responser/non_stream_responser.py,sha256=WFzrT0tHGVLi_AR1IrIPPvpQ94ne7slwbFyXaoTpCQc,5318
|
|
9
9
|
xgae/engine/responser/responser_base.py,sha256=jhl1Bdz1Fs3KofGEymThNXlQuCORFTTkTAR_U47krds,24403
|
|
10
10
|
xgae/engine/responser/stream_responser.py,sha256=5n7i2QnE_u7RP1bcJFky8sFPjYMjfYY9NcR5TeFxl9Y,7642
|
|
11
|
-
xgae/gaia2/are_engine.py,sha256=
|
|
11
|
+
xgae/gaia2/are_engine.py,sha256=tRhO9eHZOQpazWLA79PYbih_is7aSGBdYxzSHSQVIfo,5276
|
|
12
12
|
xgae/tools/without_general_tools_app.py,sha256=KqsdhxD3hvTpiygaGUVHysRFjvv_1A8zOwMKN1J0J0U,3821
|
|
13
13
|
xgae/utils/__init__.py,sha256=ElaGS-zdeZeu6is41u3Ny7lkvhg7BDSK-jMNg9j6K5A,499
|
|
14
14
|
xgae/utils/json_helpers.py,sha256=WD4G5U9Dh8N6J9O0L5wGyqj-NHi09kcXHGdLD_26nlc,3607
|
|
@@ -16,7 +16,7 @@ xgae/utils/llm_client.py,sha256=Mr5XUexGzNcbsqjn5Vfgin0Rm9jeR3cEPCIm79q46EM,1519
|
|
|
16
16
|
xgae/utils/misc.py,sha256=aMWOvJ9VW52q-L9Lkjl1hvXqLwpJAmyxA-Z8jzqFG0U,907
|
|
17
17
|
xgae/utils/setup_env.py,sha256=MqNG0c2QQBDFU1kI8frxr9kB5d08Mmi3QZ1OoorgIa0,2662
|
|
18
18
|
xgae/utils/xml_tool_parser.py,sha256=Mb0d8kBrfyAEvUwW1Nqir-3BgxZRr0ZX3WymQouuFSo,4859
|
|
19
|
-
xgae-0.3.
|
|
20
|
-
xgae-0.3.
|
|
21
|
-
xgae-0.3.
|
|
22
|
-
xgae-0.3.
|
|
19
|
+
xgae-0.3.4.dist-info/METADATA,sha256=_CEXwjfI8Ryk-LU55s50_h6oUeYAHn-d-HwivPnQwq4,1213
|
|
20
|
+
xgae-0.3.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
21
|
+
xgae-0.3.4.dist-info/entry_points.txt,sha256=wmvgtMQbtzTbDPETS-tbQJD7jVlcs4hp0w6wOB0ooCc,229
|
|
22
|
+
xgae-0.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|