From ae40aa20c2292448082c0abb52cac5816df73cbd Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 10 Sep 2026 17:07:42 -0600 Subject: [PATCH] docs: removed unnecessary punctuation --- Graph-Agents.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Graph-Agents.md b/Graph-Agents.md index ffee1d2..d0ed8a8 100644 --- a/Graph-Agents.md +++ b/Graph-Agents.md @@ -151,10 +151,10 @@ nodes: 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=...)`. 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 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 `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 @@ -689,7 +689,7 @@ on the explicit `0`. **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 -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: - 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 conversation and nothing compacts them between turns, so input cost grows quadratically in the number of turns and the node eventually fails with - `Exceed max_input_tokens limit` (routes to `fallback` if declared) — an - error unrelated to anything you configured. + `Exceed max_input_tokens limit` (routes to `fallback` if declared), which is + an error unrelated to anything you configured. - (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 code 130, the model sees a failed poll, and the watcher polls again. When it