feat(agents): retry empty-stream once before fallback#13820
feat(agents): retry empty-stream once before fallback#13820Louise-Qiuqiu wants to merge 1 commit intoopenclaw:mainfrom
Conversation
|
Hey @gumadeiras 👋 Friendly ping — this PR adds a single empty-stream retry before falling back to the next model, which addresses the |
521f702 to
bb7fc6b
Compare
|
Quick update on the latest commits:
|
70b00f0 to
279f306
Compare
…penclaw#13820, excl unrelated test imports)
279f306 to
4c5cd17
Compare
bfc1ccb to
f92900f
Compare
217ea2c to
025fbf8
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
05b7897 to
4c004de
Compare
4d66837 to
1ef1641
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
1ef1641 to
02c8308
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
|
Closing due to inactivity. |
This PR improves resilience for transient empty-stream failures (
request ended without sending any chunks) by retrying once on the same model before proceeding through fallback models.Changes:
Greptile Overview
Greptile Summary
This PR enhanced resilience for transient empty-stream failures by implementing a one-time in-model retry before proceeding to fallback models. The implementation correctly classifies empty-stream errors (
request ended without sending any chunks,stream ended before first chunk) as timeout failover reasons and adds retry logic with configurable jitter (300-800ms default, feature-flag controlled viaOPENCLAW_EMPTY_STREAM_RETRY).Key changes:
Confidence Score: 5/5
(2/5) Greptile learns from your feedback when you react with thumbs up/down!