We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b53e0b commit dcc3035Copy full SHA for dcc3035
1 file changed
apps/sim/tools/index.ts
@@ -826,6 +826,11 @@ async function executeToolRequest(
826
!response.ok &&
827
isRetryableFailure(null, response.status)
828
) {
829
+ try {
830
+ await response.arrayBuffer()
831
+ } catch {
832
+ // Ignore errors when consuming body
833
+ }
834
const backoffMs = calculateBackoff(
835
attempt,
836
retryConfig.initialDelayMs,
0 commit comments