()
| 783 | } |
| 784 | |
| 785 | export function getDefaultMaxRetries(): number { |
| 786 | if (process.env.CLAUDE_CODE_MAX_RETRIES) { |
| 787 | return parseInt(process.env.CLAUDE_CODE_MAX_RETRIES, 10) |
| 788 | } |
| 789 | return DEFAULT_MAX_RETRIES |
| 790 | } |
| 791 | function getMaxRetries(options: RetryOptions): number { |
| 792 | return options.maxRetries ?? getDefaultMaxRetries() |
| 793 | } |
no outgoing calls
no test coverage detected