Skip to content

Commit dcc3035

Browse files
committed
ack comments
1 parent 3b53e0b commit dcc3035

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/sim/tools/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,11 @@ async function executeToolRequest(
826826
!response.ok &&
827827
isRetryableFailure(null, response.status)
828828
) {
829+
try {
830+
await response.arrayBuffer()
831+
} catch {
832+
// Ignore errors when consuming body
833+
}
829834
const backoffMs = calculateBackoff(
830835
attempt,
831836
retryConfig.initialDelayMs,

0 commit comments

Comments
 (0)