feat(core,server,docs): default max_turns to -1 (unlimited) to avoid unexpected run cutoffs (#232)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-08-07 18:53:03 +08:00
committed by GitHub
parent 4a899a265f
commit 6e1c7cc28e
12 changed files with 80 additions and 22 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ This page shows the context_engine's overall flow first, then breaks down each s
session.run(newMessages, { approve, signal })
│ carry-over from a previous interrupt? → prepend to this run's input
▼
┌── turn loop (≤ max_turns, default 100) ───────────────────────┐
┌── turn loop (≤ max_turns; default -1 = no cap) ───────────────┐
│ │
│ request_begin │
│ LLM.streamGenerate(newMessages) │