Node.js built-in fetch uses undici's default 300s bodyTimeout between SSE
chunks. Local model servers (Ollama, mlx_lm.server) generating tool call
JSON can pause longer than this, causing "Body Timeout Error". The proxy
and Bun paths already disabled this timeout but the no-proxy Node.js path
did not.
Add `generationConfig.bodyTimeout` (default 0 = disabled) so all Node.js
paths now use a plain undici Agent with configurable body timeout. Invalid
values are sanitized at runtime. Proxy-failure fallback also preserves the
user's bodyTimeout setting.
Fixes#4604Fixes#4657