xgae 0.3.4__tar.gz → 0.3.5__tar.gz
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-0.3.4 → xgae-0.3.5}/CHANGELOG.md +1 -1
- {xgae-0.3.4 → xgae-0.3.5}/PKG-INFO +1 -1
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/templates/general_tool_prompt_template.txt +20 -8
- {xgae-0.3.4 → xgae-0.3.5}/pyproject.toml +1 -1
- {xgae-0.3.4 → xgae-0.3.5}/.env +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/.python-version +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/README.md +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/README.md +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/agents/xga/are_agent.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/agents/xga/are_agent_factory.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/agents/xga/are_prompt_builder.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/agents/xga/are_tool_box.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/agents/xga/mcp_tool_executor.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/scenarios/scenario_bomc_fault/scenario.py +0 -0
- /xgae-0.3.4/examples/agent/are/are_modify_files.zip → /xgae-0.3.5/examples/agent/are/are_modify_ref.zip +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/env.example +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/mcpservers/example_mcp_apps.json +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/mcpservers/xga_server.json +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/templates/custom_tool_prompt_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/langgraph/reflection/agent_base.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/langgraph/reflection/custom_prompt_rag.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/langgraph/reflection/reflection_agent.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/langgraph/reflection/result_eval_agent.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/agent/langgraph/reflection/run_agent_app.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/engine/run_custom_and_agent_tools.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/engine/run_general_tools.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/engine/run_human_in_loop.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/engine/run_simple.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/tools/custom_fault_tools_app.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/examples/tools/simu_a2a_tools_app.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/mcpservers/custom_servers.json +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/mcpservers/xga_server.json +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/mcpservers/xga_server_sse.json +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/agent_tool_prompt_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/custom_tool_prompt_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/example/fault_user_prompt.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/example/result_eval_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/gemini_system_prompt_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/general_tool_prompt_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/system_prompt_response_sample.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/templates/system_prompt_template.txt +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/test/test_chroma.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/test/test_langfuse.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/test/test_litellm_langfuse.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/uv.lock +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/__init__.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/engine_base.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/mcp_tool_box.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/prompt_builder.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/responser/non_stream_responser.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/responser/responser_base.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/responser/stream_responser.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/task_engine.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine/task_langfuse.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/engine_cli_app.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/gaia2/are_engine.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/tools/without_general_tools_app.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/utils/__init__.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/utils/json_helpers.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/utils/llm_client.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/utils/misc.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/utils/setup_env.py +0 -0
- {xgae-0.3.4 → xgae-0.3.5}/xgae/utils/xml_tool_parser.py +0 -0
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
5. INFORMATION: Use available tools to gather missing information before asking user.
|
|
7
7
|
6. AMBIGUITY: Execute all clear and unambiguous parts of a request immediately. When you encounter ambiguities, contradictions, or impossible elements, finish unambiguous subtasks and then stop and explicitly ask the user for clarification before proceeding with those specific parts.
|
|
8
8
|
|
|
9
|
+
# TOOL EXECUTION CYCLE
|
|
10
|
+
Follow this exact sequence for each step:
|
|
11
|
+
1. THOUGHT: Analyze what needs to be done and which tool to call
|
|
12
|
+
2. ACTION: Call exactly ONE tool with required parameters
|
|
13
|
+
3. OBSERVATION: Wait for system to provide tool results
|
|
14
|
+
4. Repeat until task is complete
|
|
9
15
|
|
|
10
16
|
# FORMAT SPECIFICATION
|
|
11
17
|
## RESPONSE FORMAT SPECIFICATION
|
|
@@ -13,30 +19,36 @@
|
|
|
13
19
|
[Your reasoning in plain text]
|
|
14
20
|
</thought>
|
|
15
21
|
|
|
16
|
-
<function_calls>
|
|
17
|
-
<invoke
|
|
18
|
-
<
|
|
22
|
+
<function_calls>
|
|
23
|
+
# Only include one <invoke> element each step
|
|
24
|
+
<invoke name="function_name">
|
|
25
|
+
<parameter name="param_name">param_value</parameter>
|
|
19
26
|
...
|
|
20
27
|
</invoke>
|
|
21
28
|
</function_calls>
|
|
22
29
|
|
|
30
|
+
|
|
23
31
|
String and scalar parameters should be specified as-is, while lists and objects should use JSON format.
|
|
24
32
|
|
|
25
33
|
## THOUGHT RULES
|
|
26
34
|
- Always explain your reasoning in natural language before the Action.
|
|
27
35
|
- Never include tool call details inside the Thought, only in the Action.
|
|
28
36
|
|
|
29
|
-
##
|
|
37
|
+
## OBSERVATION RULES
|
|
38
|
+
- Do NOT generate Observation; the system will insert it.
|
|
39
|
+
|
|
40
|
+
## EXAMPLE CYCLE
|
|
30
41
|
<thought>
|
|
31
42
|
I need to look up the current weather before answering, so I will call the weather tool with the city name.
|
|
32
|
-
|
|
43
|
+
</thought>
|
|
33
44
|
|
|
34
45
|
<function_calls>
|
|
35
|
-
<invoke name="
|
|
36
|
-
<parameter name="city_name">
|
|
46
|
+
<invoke name="get_weather">
|
|
47
|
+
<parameter name="city_name"> Paris </parameter>
|
|
37
48
|
</invoke>
|
|
38
|
-
|
|
49
|
+
</function_calls>
|
|
39
50
|
|
|
51
|
+
Observation: The current temperature in Paris is 20 degrees Celsius and the weather is sunny.
|
|
40
52
|
|
|
41
53
|
# AVAILABLE SYSTEM TOOLS
|
|
42
54
|
|
{xgae-0.3.4 → xgae-0.3.5}/.env
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xgae-0.3.4 → xgae-0.3.5}/examples/agent/are/are/simulation/agents/xga/are_prompt_builder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|