mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-07 01:44:56 +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,
|
messages,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
maxRetries: 10,
|
maxRetries: 3,
|
||||||
maxOutputTokens: outputLimit,
|
maxOutputTokens: outputLimit,
|
||||||
abortSignal: abort.signal,
|
abortSignal: abort.signal,
|
||||||
stopWhen: stepCountIs(1000),
|
stopWhen: stepCountIs(1000),
|
||||||
|
|||||||
Reference in New Issue
Block a user