Skip to content

Commit 1df93b7

Browse files
leeyyicursoragent
andcommitted
Merge upstream/main into feat/cube-code-executor
解决 examples/skills_with_container/README.md 冲突: - 保留本地对运行结果日志(host:// / workspace:// / skill:// 三种 input scheme 全部成功落入工作区,新增 output_files 展示)的更新 - 同步上游意图,去掉"进程以 exit_code=0 结束"等冗余表述 Assisted-by: Cursor:claude-opus-4.7 Co-authored-by: Cursor <cursoragent@cursor.com>
2 parents 9bfe756 + 537fbc4 commit 1df93b7

32 files changed

Lines changed: 26 additions & 66 deletions

File tree

examples/llmagent_with_streaming_tool_complex/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,13 @@ Comprehensive Streaming Tool Test Suite
7171
✅ [Tool Complete] write_file
7272
📊 [Result] tool_type=sync_function
7373
...
74-
[END] llmagent_with_streaming_tool_complex (exit_code=0)
7574
```
7675

7776
## 结果分析(是否符合要求)
7877

7978
结论:**符合本示例测试要求**
8079

8180
- 日志展示多组流式工具测试与 `[Streaming]` 分片输出
82-
- 收尾为 `exit_code=0`,与本批 `error.txt` 为空一致
8381

8482
## 适用场景建议
8583

examples/llmagent_with_streaming_tool_simple/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,13 @@ Streaming Tool Call Arguments Demo
6767
...
6868
✅ [Tool Call Complete] write_file
6969
📊 [Tool Result] {'success': True, 'path': 'index.html', 'bytes_written': 360, ...}
70-
[END] llmagent_with_streaming_tool_simple (exit_code=0)
7170
```
7271

7372
## 结果分析(是否符合要求)
7473

7574
结论:**符合本示例测试要求**
7675

7776
- 出现流式参数片段、`Tool Call Complete``Tool Result` 成功字段
78-
- `exit_code=0``error.txt` 为空
7977

8078
## 适用场景建议
8179

examples/llmagent_with_thinking/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,13 @@ python3 run_agent.py
6969
📝 User: What will the weather be like in Shanghai for the next three days?
7070
🔧 [Invoke Tool:: get_weather_forecast({'city': 'Shanghai', 'days': 3})]
7171
...
72-
[END] llmagent_with_thinking (exit_code=0)
7372
```
7473

7574
## 结果分析(是否符合要求)
7675

7776
结论:**符合本示例测试要求**
7877

7978
- 三轮问答均完成工具调用并得到结构化结果与总结回复
80-
- 进程以 `exit_code=0` 结束,`error.txt` 为空
8179

8280
## 适用场景建议
8381

examples/llmagent_with_timeline_filtering/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,13 @@ Scenario 2: TimelineFilterMode.INVOCATION
7070
Key Takeaways:
7171
- TimelineFilterMode.ALL: Full conversation history
7272
- TimelineFilterMode.INVOCATION: Invocation-scoped history (per runner.run_async() call)
73-
[END] llmagent_with_timeline_filtering (exit_code=0)
7473
```
7574

7675
## 结果分析(是否符合要求)
7776

7877
结论:**符合本示例测试要求**
7978

8079
- `ALL` 下第三轮能综合前两轮信息;`INVOCATION` 下第三轮明确表示无此前信息,与模式语义一致
81-
- `exit_code=0``error.txt` 为空
8280

8381
## 适用场景建议
8482

examples/llmagent_with_tool_prompt/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,13 @@ python3 run_agent.py
6868
🔧 [Invoke Tool:: get_weather_report({'city': 'Guangzhou'})]
6969
📊 [Tool Result: {'temperature': '32°C', 'condition': 'Thunderstorm', ...}]
7070
...
71-
[END] llmagent_with_tool_prompt (exit_code=0)
7271
```
7372

7473
## 结果分析(是否符合要求)
7574

7675
结论:**符合本示例测试要求**
7776

7877
- 首轮澄清城市;后续轮次出现 XML 风格工具块并成功执行工具
79-
- `exit_code=0``error.txt` 为空
8078

8179
## 适用场景建议
8280

examples/llmagent_with_user_history/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,13 @@ python3 run_agent.py
6767
🤖 Assistant: From our previous conversation, I mentioned that the weather in Paris is sunny ...
6868
📝 User: Do you remember my name?
6969
🤖 Assistant: I don't believe you've shared your name with me yet! ...
70-
[END] llmagent_with_user_history (exit_code=0)
7170
```
7271

7372
## 结果分析(是否符合要求)
7473

7574
结论:**符合本示例测试要求**
7675

7776
- 注入历史支撑了第二轮“巴黎天气”的续写式回答;第三轮体现会话消息与注入块差异
78-
- `exit_code=0``error.txt` 为空
7977

8078
## 适用场景建议
8179

examples/memory_service_with_in_memory/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,13 @@ First run
6969
📊 [Tool Result: {'result': '{"memories": [{"content": ...
7070
Yes, your name is Alice! ...
7171
...
72-
[END] memory_service_with_in_memory (exit_code=0)
7372
```
7473

7574
## 结果分析(是否符合要求)
7675

7776
结论:**符合本示例测试要求**
7877

79-
- 首轮空记忆、后续命中记忆并与自然语言回答一致;正常结束 `exit_code=0`
80-
- `error.txt` 为空
78+
- 首轮空记忆、后续命中记忆并与自然语言回答一致,正常结束
8179

8280
## 适用场景建议
8381

examples/memory_service_with_sql/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,13 @@ First run
6666
📊 [Tool Result: {'status': 'success', 'report': 'The weather in Paris is sunny...'}]
6767
...
6868
[2026-04-01 ...][INFO]... Memory cleanup completed: deleted ...
69-
[END] memory_service_with_sql (exit_code=0)
7069
```
7170

7271
## 结果分析(是否符合要求)
7372

7473
结论:**符合本示例测试要求**
7574

76-
- 记忆查询、天气工具与清理日志均出现,并以 `exit_code=0` 结束
77-
- `error.txt` 为空
75+
- 记忆查询、天气工具与清理日志均出现
7876

7977
## 适用场景建议
8078

examples/multi_agent_chain/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,13 @@ Chain Agent Demo - Information Passing via output_key
6666
Processing Flow: Extraction → Translation
6767
[content_extractor] Output:(Markdown,含 # Smart Home Control System 等章节)
6868
[translator] Output:(英文化 Markdown,结构与上游对应)
69-
[END] multi_agent_chain (exit_code=0)
7069
```
7170

7271
## 结果分析(是否符合要求)
7372

7473
结论:**符合本示例测试要求**
7574

76-
- 两段 Markdown 输出先后打印,链路闭合`exit_code=0``error.txt` 为空
75+
- 两段 Markdown 输出先后打印,链路闭合
7776

7877
## 适用场景建议
7978

examples/multi_agent_compose/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,13 @@ Run Process:
7070
...
7171
[security_analyst] ### **Security Analysis: Smart Home Security System**
7272
...
73-
[END] multi_agent_compose (exit_code=0)
7473
```
7574

7675
## 结果分析(是否符合要求)
7776

7877
结论:**符合本示例测试要求**
7978

80-
- 质量与安全分析报告均落地,并以 `exit_code=0` 结束;`error.txt` 为空
79+
- 质量与安全分析报告均落地
8180

8281
## 适用场景建议
8382

0 commit comments

Comments
 (0)