Repository navigation
Commit 354cabc
Fix undici 5-minute timeout: set headersTimeout and bodyTimeout to 30min
Node.js built-in fetch uses undici with hardcoded 300s (5min) timeouts
for headersTimeout and bodyTimeout. SDK-level timeout options don't
override these. See: nodejs/node#46375
Fix: configure EnvHttpProxyAgent with 30-minute timeouts in the global
dispatcher, so slow local models (e.g., 397B at 10 tps) don't get
killed during long thinking phases.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 7effd22 commit 354cabc
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
0 commit comments