docs: removed unnecessary punctuation
1 file changed
+5
-5
+5
-5
@@ -151,10 +151,10 @@ nodes:
|
|||||||
graph-step cap. If the same node id is entered more than this many times,
|
graph-step cap. If the same node id is entered more than this many times,
|
||||||
execution aborts with `Node 'X' visited N times (max_loop_iterations=...)`.
|
execution aborts with `Node 'X' visited N times (max_loop_iterations=...)`.
|
||||||
Default: 100. `0` disables the cap. Use it when a node is legitimately
|
Default: 100. `0` disables the cap. Use it when a node is legitimately
|
||||||
re-entered a data-dependent number of times — e.g. a reflexion loop that
|
re-entered a data-dependent number of times; e.g. a reflexion loop that
|
||||||
pulls jobs from a list re-enters `review` once per job × per round, so no
|
pulls jobs from a list re-enters `review` once per job × per round, so no
|
||||||
fixed cap is right. If the job list is known up front, prefer a `map` over
|
fixed cap is right. If the job list is known up front, prefer a `map` over
|
||||||
it — each item forks fresh visit counts, so the cap then measures per-job
|
it. Each item forks fresh visit counts, so the cap then measures per-job
|
||||||
non-convergence (use `max_concurrency: 1` if jobs must be sequential); use
|
non-convergence (use `max_concurrency: 1` if jobs must be sequential); use
|
||||||
`0` when the list is discovered mid-run or the loop needs `approval`/`input`
|
`0` when the list is discovered mid-run or the loop needs `approval`/`input`
|
||||||
gates (disallowed inside branches). With the cap off, a non-converging loop
|
gates (disallowed inside branches). With the cap off, a non-converging loop
|
||||||
@@ -689,7 +689,7 @@ on the explicit `0`.
|
|||||||
|
|
||||||
**Watcher pattern (short/medium polls).** Use `max_iterations: 0` for a node
|
**Watcher pattern (short/medium polls).** Use `max_iterations: 0` for a node
|
||||||
whose job is to poll a condition through tool calls (CI status, a file
|
whose job is to poll a condition through tool calls (CI status, a file
|
||||||
appearing, a queue draining) and conclude only when it holds — a loop that
|
appearing, a queue draining) and conclude only when it holds. A loop that
|
||||||
converges on an external signal, not on a turn count. Rules:
|
converges on an external signal, not on a turn count. Rules:
|
||||||
|
|
||||||
- The *tool* does the waiting (`sleep 30 && check`), not the model.
|
- The *tool* does the waiting (`sleep 30 && check`), not the model.
|
||||||
@@ -708,8 +708,8 @@ converges on an external signal, not on a turn count. Rules:
|
|||||||
- (c) **The context window.** Every turn appends its tool results to the
|
- (c) **The context window.** Every turn appends its tool results to the
|
||||||
conversation and nothing compacts them between turns, so input cost grows
|
conversation and nothing compacts them between turns, so input cost grows
|
||||||
quadratically in the number of turns and the node eventually fails with
|
quadratically in the number of turns and the node eventually fails with
|
||||||
`Exceed max_input_tokens limit` (routes to `fallback` if declared) — an
|
`Exceed max_input_tokens limit` (routes to `fallback` if declared), which is
|
||||||
error unrelated to anything you configured.
|
an error unrelated to anything you configured.
|
||||||
- (d) Ctrl-C, **only while `Generating…` is showing** (an in-flight model
|
- (d) Ctrl-C, **only while `Generating…` is showing** (an in-flight model
|
||||||
call, on a TTY). During a tool's sleep it is swallowed: the tool exits with
|
call, on a TTY). During a tool's sleep it is swallowed: the tool exits with
|
||||||
code 130, the model sees a failed poll, and the watcher polls again. When it
|
code 130, the model sees a failed poll, and the watcher polls again. When it
|
||||||
|
|||||||
Reference in new issue
Block a user