fix(core): address PR review on retry defaults and timeouts
Align provider maxRetries default with pi (0), treat maxRetryDelayMs 0 as no cap, keep per-attempt timeout through stream reads, and fix gitleaks test fixtures.
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ export interface StreamOptions {
|
||||
timeoutMs?: number
|
||||
/**
|
||||
* Maximum retry attempts for transient HTTP errors (429, 5xx).
|
||||
* Default: 2.
|
||||
* Default: 0 (pi agent-level retry handles visible retries when unset).
|
||||
*/
|
||||
maxRetries?: number
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user