You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: raise default per-step LLM retry budget to 10 attempts
The default of 3 attempts only produced ~1.5s of backoff (0.5s/1s), so
sustained provider overload (429) surfaced to the user almost
immediately. With 10 attempts the exponential ramp (500ms base, x2,
32s cap, 25% jitter) waits out multi-minute overload windows before
failing the turn. Applies to both agent-core (chatWithRetry) and
agent-core-v2 (stepRetry service); loop_control.max_retries_per_step
still overrides.
* test(agent-core): pin retry-dependent tests to the new default budget
- error-paths: the warn-log attempt field now reads 1/10 with the
default 10-attempt budget
- goal-session pause tests: every LLM call throws a retryable error, so
the default 10-attempt backoff (~2min) blew the 5s test timeout; pin
maxRetriesPerStep=1 since the pause behavior does not depend on the
retry count
Increase the default per-step LLM retry budget from 3 to 10 attempts, so transient provider failures (429 / overload) are retried with exponential backoff for a few minutes before the turn fails. Tune with `loop_control.max_retries_per_step` in config.toml.
Copy file name to clipboardExpand all lines: docs/en/configuration/config-files.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ effort = "high"
52
52
keep = "all"
53
53
54
54
[loop_control]
55
-
max_retries_per_step = 3
55
+
max_retries_per_step = 10
56
56
reserved_context_size = 50000
57
57
58
58
[background]
@@ -198,7 +198,7 @@ You can also switch models temporarily without touching the config file — by s
198
198
| Field | Type | Default | Description |
199
199
| --- | --- | --- | --- |
200
200
|`max_steps_per_turn`|`integer`| — | Maximum steps per turn; unset or `0` means unlimited |
201
-
|`max_retries_per_step`|`integer`|`3`| Maximum retries after a step failure |
201
+
|`max_retries_per_step`|`integer`|`10`| Maximum retries after a step failure |
202
202
|`reserved_context_size`|`integer`| — | Number of tokens reserved for model output; automatic compaction is triggered when the remaining context window falls below this value |
0 commit comments