openpencil/crates/op-host-services
Fini 768ea37d7b fix(ai): add request throttle + 429/503 backoff-retry to builtin http provider
A single provider rate-limit (HTTP 429) or overload (503/529) on one
design sub-agent request had no recovery: no client-side pacing to stay
under the RPM limit, and no backoff-retry once tripped — so the section
burned its attempts and the run reported a failed subtask while the rest
of the design was fine. Add a process-wide min-gap throttle (default
350ms, env-overridable) and transparent backoff-retry that honors
Retry-After (else exponential 1/2/4s, capped) around both the openai-
compatible and anthropic send paths. Benefits every builtin path
(orchestrator, design loop, chat). retry.rs stays unchanged: 429 remains
non-retryable at the ladder level since the http layer already backed off.
2026-07-05 16:52:01 +08:00
..
src fix(ai): add request throttle + 429/503 backoff-retry to builtin http provider 2026-07-05 16:52:01 +08:00
Cargo.toml feat(mcp): batch_design script input closes the loop through the shared runner 2026-07-03 22:08:20 +08:00