Commit 2a90cb4
docs: clarify on_error logic in pipeline protocol (#1251)
## Summary by Sourcery
澄清并重构关于流水线节点生命周期和 `on_error` 行为的文档,并整理代理(agent)文档中的相关表格。
Enhancements:
- 通过用新的「Node Flow」章节替换旧的流程图来整合节点生命周期文档,从而减少重复内容。
Documentation:
- 使用更新后的 Mermaid 流程图和专门的「Node Flow」章节,记录详细的节点生命周期流程。
- 澄清 `on_error` 节点在何时执行,明确将该行为与下一个节点的识别超时关联起来,并链接到新的流程图。
- 调整 `AGENTS.md` 中的 Markdown 表格格式,以确保间距一致并提升可读性。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Clarify and restructure documentation of the pipeline node lifecycle and
on_error behavior, and tidy related tables in agent docs.
Enhancements:
- Consolidate the node lifecycle documentation by replacing the older
flowchart with the new Node Flow section to reduce duplication.
Documentation:
- Document the detailed node lifecycle flow with an updated Mermaid
flowchart and dedicated Node Flow section.
- Clarify when on_error nodes are executed, explicitly tying the
behavior to next node recognition timeout and linking to the new
flowchart.
- Adjust Markdown table formatting in AGENTS.md for consistent spacing
and readability.
</details>
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: MistEO <mistereo@hotmail.com>1 parent b273a7a commit 2a90cb4
3 files changed
Lines changed: 56 additions & 54 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
50 | 75 | | |
51 | 76 | | |
52 | 77 | | |
| |||
193 | 218 | | |
194 | 219 | | |
195 | 220 | | |
196 | | - | |
| 221 | + | |
197 | 222 | | |
198 | 223 | | |
199 | 224 | | |
| |||
261 | 286 | | |
262 | 287 | | |
263 | 288 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
54 | 79 | | |
55 | 80 | | |
56 | 81 | | |
| |||
155 | 180 | | |
156 | 181 | | |
157 | 182 | | |
158 | | - | |
| 183 | + | |
159 | 184 | | |
160 | 185 | | |
161 | 186 | | |
| |||
197 | 222 | | |
198 | 223 | | |
199 | 224 | | |
200 | | - | |
| 225 | + | |
201 | 226 | | |
202 | 227 | | |
203 | 228 | | |
| |||
267 | 292 | | |
268 | 293 | | |
269 | 294 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
0 commit comments