Commit 1ccbb3b
fix: use explicit None checks for client config to respect zero values
The or operator treats 0 as falsy, so passing max_retries=0 (no retries),
timeout_secs=0, or min_delay_between_retries_millis=0 would silently fall
back to the default values. Changed to explicit 'is not None' checks.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1030dab commit 1ccbb3b
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
0 commit comments