Skip to content

Commit 6ef4cfa

Browse files
committed
lower max retries to 3 - ai sdk currently cannot abort during a retry delay so things appear to be frozen
1 parent 190dee0 commit 6ef4cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opencode/src/session/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ export namespace Session {
812812
messages,
813813
}
814814
},
815-
maxRetries: 10,
815+
maxRetries: 3,
816816
maxOutputTokens: outputLimit,
817817
abortSignal: abort.signal,
818818
stopWhen: stepCountIs(1000),

0 commit comments

Comments
 (0)