mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-21 14:47:17 +00:00
A mid-stream SSE drop surfaces as a raw undici `TypeError: terminated`, which was classified as a non-retryable generic error and failed the turn on the first attempt. Route raw transport-layer errors through the connection-error heuristic so a dropped stream becomes a retryable APIConnectionError and is retried transparently. User aborts (ESC) are unaffected — the retry loop checks the abort signal before retrying. Related to #149. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| abort.e2e.test.ts | ||
| api-shape.e2e.test.ts | ||
| error-paths.e2e.test.ts | ||
| events.e2e.test.ts | ||
| hooks.e2e.test.ts | ||
| retry.test.ts | ||
| streaming.e2e.test.ts | ||
| tool-call.e2e.test.ts | ||
| tool-scheduler.test.ts | ||
| transcript.e2e.test.ts | ||
| turn-lifecycle.e2e.test.ts | ||