mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 11:14:23 +01:00
lower max retries to 3 - ai sdk currently cannot abort during a retry delay so things appear to be frozen
This commit is contained in:
@@ -812,7 +812,7 @@ export namespace Session {
|
||||
messages,
|
||||
}
|
||||
},
|
||||
maxRetries: 10,
|
||||
maxRetries: 3,
|
||||
maxOutputTokens: outputLimit,
|
||||
abortSignal: abort.signal,
|
||||
stopWhen: stepCountIs(1000),
|
||||
|
||||
Reference in New Issue
Block a user