kimi-code/docs/zh
Haozhe a74ab44ac7
feat: raise default per-step LLM retry budget to 10 attempts (#1740)
* 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
2026-07-15 15:24:17 +08:00
..
configuration feat: raise default per-step LLM retry budget to 10 attempts (#1740) 2026-07-15 15:24:17 +08:00
customization docs: document plugin slash commands (#1253) 2026-07-01 13:49:43 +08:00
guides fix(kimi-web): resume paused goals (#1693) 2026-07-15 00:00:29 +08:00
reference feat(agent-core): drop default timeouts for print-mode background tasks (#1737) 2026-07-15 14:35:32 +08:00
release-notes docs(changelog): sync 0.24.1 from apps/kimi-code/CHANGELOG.md (#1703) 2026-07-14 17:47:24 +08:00
index.md Kimi For Coding 2026-05-22 15:54:50 +08:00