lower max retries to 3 - ai sdk currently cannot abort during a retry delay so things appear to be frozen

pull/1435/head v0.3.86
Dax Raad 2025-07-30 15:08:25 -04:00
parent 190dee080c
commit 6ef4cfa2fa
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ export namespace Session {
messages,
}
},
maxRetries: 10,
maxRetries: 3,
maxOutputTokens: outputLimit,
abortSignal: abort.signal,
stopWhen: stepCountIs(1000),