xgae 0.3.3__py3-none-any.whl → 0.3.5__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
|
|
@@ -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.5.dist-info/METADATA,sha256=y5X3kIbzW6_3FbZQ1bs1xmEyV-FyG1RStm8im0dXgEk,1213
|
|
20
|
+
xgae-0.3.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
21
|
+
xgae-0.3.5.dist-info/entry_points.txt,sha256=wmvgtMQbtzTbDPETS-tbQJD7jVlcs4hp0w6wOB0ooCc,229
|
|
22
|
+
xgae-0.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|