From e3780454a8a62e7d47172f171ac0b47fa43a199f Mon Sep 17 00:00:00 2001 From: jasinluo <1127097451@qq.com> Date: Thu, 7 May 2026 20:56:04 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=88=A0=E9=99=A4=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E5=A4=9A=E4=BD=99=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/llmagent_with_streaming_tool_complex/README.md | 2 -- examples/llmagent_with_streaming_tool_simple/README.md | 2 -- examples/llmagent_with_thinking/README.md | 2 -- examples/llmagent_with_timeline_filtering/README.md | 2 -- examples/llmagent_with_tool_prompt/README.md | 2 -- examples/llmagent_with_user_history/README.md | 2 -- examples/memory_service_with_in_memory/README.md | 4 +--- examples/memory_service_with_sql/README.md | 4 +--- examples/multi_agent_chain/README.md | 3 +-- examples/multi_agent_compose/README.md | 3 +-- examples/multi_agent_cycle/README.md | 3 +-- examples/multi_agent_parallel/README.md | 3 +-- examples/multi_agent_start_from_last/README.md | 3 +-- examples/multi_agent_subagent/README.md | 3 +-- examples/quickstart/README.md | 3 +-- examples/session_service_with_in_memory/README.md | 3 +-- examples/session_service_with_sql/README.md | 3 +-- examples/session_state/README.md | 3 +-- examples/skills/README.md | 3 +-- examples/skills_with_container/README.md | 3 +-- examples/skills_with_dynamic_tools/README.md | 3 +-- examples/streaming_tools/README.md | 3 +-- examples/team/README.md | 3 +-- examples/team_as_sub_agent/README.md | 3 +-- examples/team_human_in_the_loop/README.md | 3 +-- examples/team_member_agent_langgraph/README.md | 3 +-- examples/team_member_agent_team/README.md | 3 +-- examples/team_member_message_filter/README.md | 3 +-- examples/team_parallel_execution/README.md | 3 +-- examples/team_with_cancel/README.md | 3 +-- examples/team_with_skill/README.md | 3 +-- examples/toolsets/README.md | 3 +-- 32 files changed, 26 insertions(+), 66 deletions(-) diff --git a/examples/llmagent_with_streaming_tool_complex/README.md b/examples/llmagent_with_streaming_tool_complex/README.md index ae11e0e..63d8623 100644 --- a/examples/llmagent_with_streaming_tool_complex/README.md +++ b/examples/llmagent_with_streaming_tool_complex/README.md @@ -71,7 +71,6 @@ Comprehensive Streaming Tool Test Suite ✅ [Tool Complete] write_file 📊 [Result] tool_type=sync_function ... -[END] llmagent_with_streaming_tool_complex (exit_code=0) ``` ## 结果分析(是否符合要求) @@ -79,7 +78,6 @@ Comprehensive Streaming Tool Test Suite 结论:**符合本示例测试要求**。 - 日志展示多组流式工具测试与 `[Streaming]` 分片输出 -- 收尾为 `exit_code=0`,与本批 `error.txt` 为空一致 ## 适用场景建议 diff --git a/examples/llmagent_with_streaming_tool_simple/README.md b/examples/llmagent_with_streaming_tool_simple/README.md index ed7b974..61c6b9f 100644 --- a/examples/llmagent_with_streaming_tool_simple/README.md +++ b/examples/llmagent_with_streaming_tool_simple/README.md @@ -67,7 +67,6 @@ Streaming Tool Call Arguments Demo ... ✅ [Tool Call Complete] write_file 📊 [Tool Result] {'success': True, 'path': 'index.html', 'bytes_written': 360, ...} -[END] llmagent_with_streaming_tool_simple (exit_code=0) ``` ## 结果分析(是否符合要求) @@ -75,7 +74,6 @@ Streaming Tool Call Arguments Demo 结论:**符合本示例测试要求**。 - 出现流式参数片段、`Tool Call Complete` 与 `Tool Result` 成功字段 -- `exit_code=0`,`error.txt` 为空 ## 适用场景建议 diff --git a/examples/llmagent_with_thinking/README.md b/examples/llmagent_with_thinking/README.md index 1efd23f..ad86cf8 100644 --- a/examples/llmagent_with_thinking/README.md +++ b/examples/llmagent_with_thinking/README.md @@ -69,7 +69,6 @@ python3 run_agent.py 📝 User: What will the weather be like in Shanghai for the next three days? 🔧 [Invoke Tool:: get_weather_forecast({'city': 'Shanghai', 'days': 3})] ... -[END] llmagent_with_thinking (exit_code=0) ``` ## 结果分析(是否符合要求) @@ -77,7 +76,6 @@ python3 run_agent.py 结论:**符合本示例测试要求**。 - 三轮问答均完成工具调用并得到结构化结果与总结回复 -- 进程以 `exit_code=0` 结束,`error.txt` 为空 ## 适用场景建议 diff --git a/examples/llmagent_with_timeline_filtering/README.md b/examples/llmagent_with_timeline_filtering/README.md index 74536ca..1984a52 100644 --- a/examples/llmagent_with_timeline_filtering/README.md +++ b/examples/llmagent_with_timeline_filtering/README.md @@ -70,7 +70,6 @@ Scenario 2: TimelineFilterMode.INVOCATION Key Takeaways: - TimelineFilterMode.ALL: Full conversation history - TimelineFilterMode.INVOCATION: Invocation-scoped history (per runner.run_async() call) -[END] llmagent_with_timeline_filtering (exit_code=0) ``` ## 结果分析(是否符合要求) @@ -78,7 +77,6 @@ Key Takeaways: 结论:**符合本示例测试要求**。 - `ALL` 下第三轮能综合前两轮信息;`INVOCATION` 下第三轮明确表示无此前信息,与模式语义一致 -- `exit_code=0`,`error.txt` 为空 ## 适用场景建议 diff --git a/examples/llmagent_with_tool_prompt/README.md b/examples/llmagent_with_tool_prompt/README.md index 927d910..ff8e4c8 100644 --- a/examples/llmagent_with_tool_prompt/README.md +++ b/examples/llmagent_with_tool_prompt/README.md @@ -68,7 +68,6 @@ python3 run_agent.py 🔧 [Invoke Tool:: get_weather_report({'city': 'Guangzhou'})] 📊 [Tool Result: {'temperature': '32°C', 'condition': 'Thunderstorm', ...}] ... -[END] llmagent_with_tool_prompt (exit_code=0) ``` ## 结果分析(是否符合要求) @@ -76,7 +75,6 @@ python3 run_agent.py 结论:**符合本示例测试要求**。 - 首轮澄清城市;后续轮次出现 XML 风格工具块并成功执行工具 -- `exit_code=0`,`error.txt` 为空 ## 适用场景建议 diff --git a/examples/llmagent_with_user_history/README.md b/examples/llmagent_with_user_history/README.md index c7f3526..b462068 100644 --- a/examples/llmagent_with_user_history/README.md +++ b/examples/llmagent_with_user_history/README.md @@ -67,7 +67,6 @@ python3 run_agent.py 🤖 Assistant: From our previous conversation, I mentioned that the weather in Paris is sunny ... 📝 User: Do you remember my name? 🤖 Assistant: I don't believe you've shared your name with me yet! ... -[END] llmagent_with_user_history (exit_code=0) ``` ## 结果分析(是否符合要求) @@ -75,7 +74,6 @@ python3 run_agent.py 结论:**符合本示例测试要求**。 - 注入历史支撑了第二轮“巴黎天气”的续写式回答;第三轮体现会话消息与注入块差异 -- `exit_code=0`,`error.txt` 为空 ## 适用场景建议 diff --git a/examples/memory_service_with_in_memory/README.md b/examples/memory_service_with_in_memory/README.md index 73795da..eb22ecf 100644 --- a/examples/memory_service_with_in_memory/README.md +++ b/examples/memory_service_with_in_memory/README.md @@ -69,15 +69,13 @@ First run 📊 [Tool Result: {'result': '{"memories": [{"content": ... Yes, your name is Alice! ... ... -[END] memory_service_with_in_memory (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 首轮空记忆、后续命中记忆并与自然语言回答一致;正常结束 `exit_code=0` -- `error.txt` 为空 +- 首轮空记忆、后续命中记忆并与自然语言回答一致,正常结束 ## 适用场景建议 diff --git a/examples/memory_service_with_sql/README.md b/examples/memory_service_with_sql/README.md index 0e0d775..3c494f2 100644 --- a/examples/memory_service_with_sql/README.md +++ b/examples/memory_service_with_sql/README.md @@ -66,15 +66,13 @@ First run 📊 [Tool Result: {'status': 'success', 'report': 'The weather in Paris is sunny...'}] ... [2026-04-01 ...][INFO]... Memory cleanup completed: deleted ... -[END] memory_service_with_sql (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 记忆查询、天气工具与清理日志均出现,并以 `exit_code=0` 结束 -- `error.txt` 为空 +- 记忆查询、天气工具与清理日志均出现 ## 适用场景建议 diff --git a/examples/multi_agent_chain/README.md b/examples/multi_agent_chain/README.md index 488644a..e8fcbfe 100644 --- a/examples/multi_agent_chain/README.md +++ b/examples/multi_agent_chain/README.md @@ -66,14 +66,13 @@ Chain Agent Demo - Information Passing via output_key Processing Flow: Extraction → Translation [content_extractor] Output:(Markdown,含 # Smart Home Control System 等章节) [translator] Output:(英文化 Markdown,结构与上游对应) -[END] multi_agent_chain (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 两段 Markdown 输出先后打印,链路闭合;`exit_code=0`,`error.txt` 为空 +- 两段 Markdown 输出先后打印,链路闭合 ## 适用场景建议 diff --git a/examples/multi_agent_compose/README.md b/examples/multi_agent_compose/README.md index 1ed67fa..c6fbd1e 100644 --- a/examples/multi_agent_compose/README.md +++ b/examples/multi_agent_compose/README.md @@ -70,14 +70,13 @@ Run Process: ... [security_analyst] ### **Security Analysis: Smart Home Security System** ... -[END] multi_agent_compose (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 质量与安全分析报告均落地,并以 `exit_code=0` 结束;`error.txt` 为空 +- 质量与安全分析报告均落地 ## 适用场景建议 diff --git a/examples/multi_agent_cycle/README.md b/examples/multi_agent_cycle/README.md index 71cdb48..6b40305 100644 --- a/examples/multi_agent_cycle/README.md +++ b/examples/multi_agent_cycle/README.md @@ -72,14 +72,13 @@ Clarity: 10/10 🔧 Invoke Tool:exit_refinement_loop 📋 Tool Result:{'status': 'content_approved', ...} 🎉 Content Improvement Completed! -[END] multi_agent_cycle (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 单轮即达标并调用退出工具,流程结束语与 `exit_code=0` 一致;`error.txt` 为空 +- 单轮即达标并调用退出工具 ## 适用场景建议 diff --git a/examples/multi_agent_parallel/README.md b/examples/multi_agent_parallel/README.md index 11f5df7..d0cf85a 100644 --- a/examples/multi_agent_parallel/README.md +++ b/examples/multi_agent_parallel/README.md @@ -68,14 +68,13 @@ Parallel Reviewing: [security_reviewer] Finished [Quality Review] # Quality Review / Score: 6/10 / Feedback: ... [Security Review] # Security Review: AI Smart Home System / Security Score: 5/10 ... -[END] multi_agent_parallel (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 双评审均完成并输出结构化 Markdown;`exit_code=0`,`error.txt` 为空 +- 双评审均完成并输出结构化 Markdown; ## 适用场景建议 diff --git a/examples/multi_agent_start_from_last/README.md b/examples/multi_agent_start_from_last/README.md index 6fd2c40..4193efe 100644 --- a/examples/multi_agent_start_from_last/README.md +++ b/examples/multi_agent_start_from_last/README.md @@ -71,14 +71,13 @@ Multi-Agent Demo: start_from_last_agent=True [sales_consultant] Tool: get_product_info({'product_type': 'displays'}) ... Demo completed! -[END] multi_agent_start_from_last (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- Turn 2/3 仍由 `sales_consultant` 处理,体现“留在上一子 Agent”;`exit_code=0`,`error.txt` 为空 +- Turn 2/3 仍由 `sales_consultant` 处理,体现“留在上一子 Agent”; ## 适用场景建议 diff --git a/examples/multi_agent_subagent/README.md b/examples/multi_agent_subagent/README.md index d991bb0..1f80372 100644 --- a/examples/multi_agent_subagent/README.md +++ b/examples/multi_agent_subagent/README.md @@ -70,14 +70,13 @@ Scenario 1: Technical Support Scenario 2: Sales Inquiry 🔧 [customer_service_coordinator] Invoke Tool: transfer_to_agent ... 'sales_consultant' 🔧 [sales_consultant] Invoke Tool: get_product_info ... 'security' -[END] multi_agent_subagent (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 两场景均完成转交、工具调用与回复;`exit_code=0`,`error.txt` 为空 +- 两场景均完成转交、工具调用与回复; ## 适用场景建议 diff --git a/examples/quickstart/README.md b/examples/quickstart/README.md index b2acdf4..b0d7855 100644 --- a/examples/quickstart/README.md +++ b/examples/quickstart/README.md @@ -67,14 +67,13 @@ python3 run_agent.py 🔧 [Invoke Tool: get_weather_report({'city': 'Beijing'})] 📊 [Tool Result: {'temperature': '25°C', 'condition': 'Sunny', 'humidity': '60%'}] The current weather in Beijing is sunny ... -[END] quickstart (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 澄清与工具调用路径均出现;`exit_code=0`,`error.txt` 为空 +- 澄清与工具调用路径均出现; ## 适用场景建议 diff --git a/examples/session_service_with_in_memory/README.md b/examples/session_service_with_in_memory/README.md index fd6d3af..650e6bb 100644 --- a/examples/session_service_with_in_memory/README.md +++ b/examples/session_service_with_in_memory/README.md @@ -70,14 +70,13 @@ Second run 🤖 Assistant: Yes, Alice! I remember your name from earlier in this conversation... ... [2026-04-01 ...] Cleanup completed: deleted 3 items ... -[END] session_service_with_in_memory (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 多段运行与会话内/跨段语义在日志中可区分;正常以 `exit_code=0` 结束;`error.txt` 为空 +- 多段运行与会话内/跨段语义在日志中可区分; ## 适用场景建议 diff --git a/examples/session_service_with_sql/README.md b/examples/session_service_with_sql/README.md index 3694315..1441b4f 100644 --- a/examples/session_service_with_sql/README.md +++ b/examples/session_service_with_sql/README.md @@ -68,14 +68,13 @@ Second run [2026-04-01 ...] Cleanup completed: deleted 3 items ... Third run 🤖 Assistant: No, I don't have the ability to remember ... between conversations... -[END] session_service_with_sql (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 第二轮体现跨轮持久记忆,第三轮回到无跨会话记忆说明;`exit_code=0`,`error.txt` 为空 +- 第二轮体现跨轮持久记忆,第三轮回到无跨会话记忆说明; ## 适用场景建议 diff --git a/examples/session_state/README.md b/examples/session_state/README.md index 311a8c3..d000dad 100644 --- a/examples/session_state/README.md +++ b/examples/session_state/README.md @@ -75,14 +75,13 @@ Example 2: Modifying State in tools Example 4: State scope demonstration 📊 user1 session2 state ... 💬 会话级状态: {} 📊 user2 session3 state ... 👤 用户级状态: {} -[END] session_state (exit_code=0) ``` ## 结果分析(是否符合要求) 结论:**符合本示例测试要求**。 -- 四个示例均打印预期阶段标题、工具结果或 state 快照;`exit_code=0`,`error.txt` 为空 +- 四个示例均打印预期阶段标题、工具结果或 state 快照; ## 适用场景建议 diff --git a/examples/skills/README.md b/examples/skills/README.md index 4239044..1cd5d8f 100644 --- a/examples/skills/README.md +++ b/examples/skills/README.md @@ -42,12 +42,11 @@ python3 run_agent.py 🔧 [Invoke Tool:: skill_run({'skill': 'python-math', 'command': 'python3 scripts/fib.py 10 > out/fib.txt', ... 📊 [Tool Result: {... 'content': '0\n1\n1\n2\n3\n5\n8\n13\n21\n34\n', ...}] ... -[END] skills (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:进程以 `exit_code=0` 结束;多会话下 `skill_load` / `skill_run` 均返回成功,Fibonacci 与摘要等输出与工具结果一致,说明技能链路与本地工作区执行正常。 +符合本示例测试要求:多会话下 `skill_load` / `skill_run` 均返回成功,Fibonacci 与摘要等输出与工具结果一致,说明技能链路与本地工作区执行正常。 ## 适用场景建议 diff --git a/examples/skills_with_container/README.md b/examples/skills_with_container/README.md index 09bb060..00ce99e 100644 --- a/examples/skills_with_container/README.md +++ b/examples/skills_with_container/README.md @@ -41,12 +41,11 @@ Container bind mounts enabled: [... 'skills:...:ro', '/tmp/skillrun-inputs:/opt/ 🔧 [Invoke Tool:: skill_run({... 'inputs': [..., 'workspace://skills/python_math/SKILL.md', ...], ...}) 📊 [Tool Result: {'error': 'tool_execution_error', ... "Failed to stage input: ... SKILL.md': No such file or directory" ...}] ... -[END] skills_with_container (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:容器成功启动并完成一次 `skill_run` 调用链;日志清晰展示 `host://` 与 `skill://` 等路径处理及 `workspace://` 在当期 workspace 中缺失时的失败信息,进程仍以 `exit_code=0` 结束,达到演示 stage_inputs 行为的目的。 +符合本示例测试要求:容器成功启动并完成一次 `skill_run` 调用链;日志清晰展示 `host://` 与 `skill://` 等路径处理及 `workspace://` 在当期 workspace 中缺失时的失败信息,达到演示 stage_inputs 行为的目的。 ## 适用场景建议 diff --git a/examples/skills_with_dynamic_tools/README.md b/examples/skills_with_dynamic_tools/README.md index 706148b..c4c1e27 100644 --- a/examples/skills_with_dynamic_tools/README.md +++ b/examples/skills_with_dynamic_tools/README.md @@ -42,12 +42,11 @@ DynamicSkillToolSet initialized: 3 tools, 0 toolsets, only_active_skills=True ... 📊 [Tool Result: {'city': 'Beijing', 'temperature': 22, ...}] ... -[END] skills_with_dynamic_tools (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;动态工具集初始化与 `weather-tools` 加载、多工具调用及最终回答均与日志一致,超出技能能力的问题(如人物信息)被合理拒答或说明。 +符合本示例测试要求:动态工具集初始化与 `weather-tools` 加载、多工具调用及最终回答均与日志一致,超出技能能力的问题(如人物信息)被合理拒答或说明。 ## 适用场景建议 diff --git a/examples/streaming_tools/README.md b/examples/streaming_tools/README.md index 3aaa41a..1916fe5 100644 --- a/examples/streaming_tools/README.md +++ b/examples/streaming_tools/README.md @@ -39,12 +39,11 @@ python3 run_agent.py ✅ Code generation complete! 📊 [Tool Result: {'success': True, 'path': 'hello.py', 'size': 837}] ... -[END] streaming_tools (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;流式阶段有连续进度输出,最终 `write_file` 返回成功且路径与大小与日志一致,说明流式工具管线工作正常。 +符合本示例测试要求:流式阶段有连续进度输出,最终 `write_file` 返回成功且路径与大小与日志一致,说明流式工具管线工作正常。 ## 适用场景建议 diff --git a/examples/team/README.md b/examples/team/README.md index 62962bb..5ce82da 100644 --- a/examples/team/README.md +++ b/examples/team/README.md @@ -41,12 +41,11 @@ Content Team Demo - Coordinate Mode [content_team] Tool: delegate_to_member, Args: {'member_name': 'writer', ... ... Demo completed! -[END] team (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;两轮对话均出现 Leader 委派、成员工具调用与最终成文输出,流程与 Coordinate 模式设计一致。 +符合本示例测试要求:两轮对话均出现 Leader 委派、成员工具调用与最终成文输出,流程与 Coordinate 模式设计一致。 ## 适用场景建议 diff --git a/examples/team_as_sub_agent/README.md b/examples/team_as_sub_agent/README.md index 3fa3350..2e86bfb 100644 --- a/examples/team_as_sub_agent/README.md +++ b/examples/team_as_sub_agent/README.md @@ -46,12 +46,11 @@ python3 run_agent.py Args: {'agent_name': 'coordinator'} ... Demo completed! -[END] team_as_sub_agent (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;日志中出现 coordinator ↔ finance_team 的 transfer、成员分析与 report 流程,与子 Agent + 转账机制说明一致。 +符合本示例测试要求:日志中出现 coordinator ↔ finance_team 的 transfer、成员分析与 report 流程,与子 Agent + 转账机制说明一致。 ## 适用场景建议 diff --git a/examples/team_human_in_the_loop/README.md b/examples/team_human_in_the_loop/README.md index f0d7451..c15d35d 100644 --- a/examples/team_human_in_the_loop/README.md +++ b/examples/team_human_in_the_loop/README.md @@ -44,12 +44,11 @@ Human provides approval: {'status': 'approved', ... Resuming team execution... ... HITL Flow Completed! -[END] team_human_in_the_loop (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;审批从 pending 到 approved、恢复执行与最终「发布」说明完整,与 HITL 设计一致。 +符合本示例测试要求:审批从 pending 到 approved、恢复执行与最终「发布」说明完整,与 HITL 设计一致。 ## 适用场景建议 diff --git a/examples/team_member_agent_langgraph/README.md b/examples/team_member_agent_langgraph/README.md index c407c07..94348df 100644 --- a/examples/team_member_agent_langgraph/README.md +++ b/examples/team_member_agent_langgraph/README.md @@ -40,12 +40,11 @@ python3 run_agent.py ... 15 multiplied by 23 is 345. ... -[END] team_member_agent_langgraph (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;两轮计算均经 `delegate_to_member` 进入 LangGraph 成员并返回正确数值,说明 Team 与 LangGraph 成员集成正常。 +符合本示例测试要求:两轮计算均经 `delegate_to_member` 进入 LangGraph 成员并返回正确数值,说明 Team 与 LangGraph 成员集成正常。 ## 适用场景建议 diff --git a/examples/team_member_agent_team/README.md b/examples/team_member_agent_team/README.md index 9a892f3..5c7e6de 100644 --- a/examples/team_member_agent_team/README.md +++ b/examples/team_member_agent_team/README.md @@ -40,12 +40,11 @@ python3 run_agent.py [dev_team] Tool: delegate_to_member, Args: {'member_name': 'backend_dev', ... [dev_team] Tool: delegate_to_member, Args: {'member_name': 'frontend_dev', ... ... -[END] team_member_agent_team (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;日志体现 project_manager → dev_team → 前后端成员的嵌套委派与工具输出,与层级设计一致。 +符合本示例测试要求:日志体现 project_manager → dev_team → 前后端成员的嵌套委派与工具输出,与层级设计一致。 ## 适用场景建议 diff --git a/examples/team_member_message_filter/README.md b/examples/team_member_message_filter/README.md index 617c562..1c1ebfa 100644 --- a/examples/team_member_message_filter/README.md +++ b/examples/team_member_message_filter/README.md @@ -43,12 +43,11 @@ python3 run_agent.py ### Summary of Analysis This year's sales performance shows strong growth across all regions... ... -[END] team_member_message_filter (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;多步工具调用后仍能产出区域销售总结,自定义过滤逻辑在运行中可被触发(控制台附加日志),与 `member_message_filter` 演示目标一致。 +符合本示例测试要求:多步工具调用后仍能产出区域销售总结,自定义过滤逻辑在运行中可被触发(控制台附加日志),与 `member_message_filter` 演示目标一致。 ## 适用场景建议 diff --git a/examples/team_parallel_execution/README.md b/examples/team_parallel_execution/README.md index 8d2899e..e94795e 100644 --- a/examples/team_parallel_execution/README.md +++ b/examples/team_parallel_execution/README.md @@ -41,12 +41,11 @@ python3 run_agent.py Demo completed in 42.60 seconds! Note: With parallel_execution=True, the three analyst delegations execute concurrently. -[END] team_parallel_execution (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;同一时间戳上多条委派与文末耗时说明与并行模式相符,最终合成报告覆盖市场、竞品与监管风险。 +符合本示例测试要求:同一时间戳上多条委派与文末耗时说明与并行模式相符,最终合成报告覆盖市场、竞品与监管风险。 ## 适用场景建议 diff --git a/examples/team_with_cancel/README.md b/examples/team_with_cancel/README.md index 9258a11..e3fc036 100644 --- a/examples/team_with_cancel/README.md +++ b/examples/team_with_cancel/README.md @@ -44,12 +44,11 @@ TeamAgent 'content_team_with_cancel' cancelled during leader planning ... It seems the previous task ... was interrupted by a cancellation. ... -[END] team_with_cancel (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;日志明确记录取消发生阶段与后续追问的上下文恢复,说明取消与记忆行为符合演示预期。 +符合本示例测试要求:日志明确记录取消发生阶段与后续追问的上下文恢复,说明取消与记忆行为符合演示预期。 ## 适用场景建议 diff --git a/examples/team_with_skill/README.md b/examples/team_with_skill/README.md index 96350cb..7273c73 100644 --- a/examples/team_with_skill/README.md +++ b/examples/team_with_skill/README.md @@ -40,12 +40,11 @@ python3 run_agent.py ... [content_team_with_skill] Tool: delegate_to_member, Args: {'member_name': 'researcher', ... ... -[END] team_with_skill (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;Leader 先完成 `skill_run` 再委派成员,输出中包含笔记文件内容与后续撰文,和「技能 + 团队」组合目标一致。 +符合本示例测试要求:Leader 先完成 `skill_run` 再委派成员,输出中包含笔记文件内容与后续撰文,和「技能 + 团队」组合目标一致。 ## 适用场景建议 diff --git a/examples/toolsets/README.md b/examples/toolsets/README.md index 8d785bc..5d0063a 100644 --- a/examples/toolsets/README.md +++ b/examples/toolsets/README.md @@ -42,12 +42,11 @@ python3 run_agent.py 🔧 [Invoke Tool: get_weather_forecast({'city': 'Beijing', 'days': 5})] ... ✅ Weather ToolSet demo finished! -[END] toolsets (exit_code=0) ``` ## 结果分析(是否符合要求) -符合本示例测试要求:`exit_code=0`;BASIC 仅触发当前天气工具,VIP 可调用预报工具,与动态 `get_tools` 逻辑一致。 +符合本示例测试要求:BASIC 仅触发当前天气工具,VIP 可调用预报工具,与动态 `get_tools` 逻辑一致。 ## 适用场景建议