Limits an operator would tune are compiled in #2053

Open
opened 2026-11-18 23:10:24 +00:00 by sam · 0 comments
Owner

The large knobs are settings (budgets, capture, web fetch, containers, tool result caps), and about 30 setting documents already exist. The rest is compiled in, including values an operator would tune:

  • MaxParallelToolCalls = 8 and DefaultSamplingMaxTokens = 4096 (internal/agentexec/modelloop).
  • Chat stream 120s (ui/src/chat/state.ts) and API 15s (ui/src/lib/api.ts).
  • Title generation 30s and 60 runes (internal/gateway/session_titles.go), tool page limits 20 and 100 (internal/gateway/task_tools.go).
  • Audit export 6 per hour and 100 000 rows (internal/webui/audit.go).
  • cloneRetention = 72h (internal/daemon/pipeline.go) alongside the equivalent volume_ttl setting.
  • MaxAttempts: 4 (modules/runs/agent.go) and maxReapprovals = 2 (modules/runs/interpreter.go).

Done when: each of these is a setting or is documented where the operator reads the limits that are fixed.

The large knobs are settings (budgets, capture, web fetch, containers, tool result caps), and about 30 setting documents already exist. The rest is compiled in, including values an operator would tune: - `MaxParallelToolCalls = 8` and `DefaultSamplingMaxTokens = 4096` (internal/agentexec/modelloop). - Chat stream 120s (ui/src/chat/state.ts) and API 15s (ui/src/lib/api.ts). - Title generation 30s and 60 runes (internal/gateway/session_titles.go), tool page limits 20 and 100 (internal/gateway/task_tools.go). - Audit export 6 per hour and 100 000 rows (internal/webui/audit.go). - `cloneRetention = 72h` (internal/daemon/pipeline.go) alongside the equivalent `volume_ttl` setting. - `MaxAttempts: 4` (modules/runs/agent.go) and `maxReapprovals = 2` (modules/runs/interpreter.go). Done when: each of these is a setting or is documented where the operator reads the limits that are fixed.
sam added the featurelow labels 2026-11-18 23:10:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2053