Retry direct model calls before the first delta #55

Merged
weichen merged 1 commits from feature/llm-robustness into main 2026-10-03 15:56:15 +00:00
Owner

Summary

  • Direct runs use runtime.llmRetries (default 2) around the provider stream.
  • Pin agent-native 9f5751c and agent-squad 9efce79.

Test plan

  • go test ./internal/settings/ ./internal/runtime/
  • Default llmRetries is 2. Injected test streams are not wrapped.
## Summary - Direct runs use runtime.llmRetries (default 2) around the provider stream. - Pin agent-native 9f5751c and agent-squad 9efce79. ## Test plan - [x] go test ./internal/settings/ ./internal/runtime/ - [x] Default llmRetries is 2. Injected test streams are not wrapped.
weichen added 1 commit 2026-10-03 15:55:58 +00:00
Retry direct model calls before the first delta
ci / vet-and-test (pull_request) Successful in 40s
93adb93b9d
Why: The direct path never retried provider timeouts, so a single 429 failed the run.
Evidence: go test ./internal/settings/ ./internal/runtime/ passed. Default runtime.llmRetries is 2.
Impact: Retries happen only when the stream has not forwarded a delta. Injected test streams are not wrapped.
Refs: feature/llm-robustness
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 4e00c98cb5 into main 2026-10-03 15:56:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#55