Files
Kilo-Org_kilocode/packages/opencode/test/session
Alex Alecu 6ad2e7a393 fix(cli): add 2-minute default request timeout for provider requests
Previously, provider HTTP requests had no application-level timeout
unless explicitly configured. Combined with Bun's fetch timeout being
disabled, requests could hang indefinitely when the network was down,
waiting for the OS TCP stack to give up.

Add REQUEST_TIMEOUT_MS (120s) as the default timeout applied via
AbortSignal.timeout() in the provider fetch wrapper. Recognize
TimeoutError as a network disconnection so it enters the offline
prompt flow.
2026-04-06 09:19:06 +03:00
..
2026-02-23 20:12:28 +01:00
2026-03-03 03:53:50 +00:00