Commit 1dcba51
fix(config): validate MINIMAX_TIMEOUT env var to prevent NaN crash
Non-numeric values like "abc" produced NaN → AbortSignal.timeout(NaN)
threw TypeError. Now invalid values are silently ignored with fallback to 300s.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 920273d commit 1dcba51
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments