diegosouzapw
5eede28fa2
fix(sse): surface an error for a truly empty Claude stream ( #12398 )
...
Extend the Claude empty-response detector in open-sse/utils/stream.ts to
also catch an upstream connection that opens (HTTP 200) and closes having
sent literally zero bytes -- no message_start at all. The existing
hasClaudeAssistantLifecycle() gate only fired once a lifecycle event had
been observed, so this shape silently completed the client stream with a
200 and no content instead of surfacing a 502, matching the reported
symptom for claude-fable-5-max past ~1800 messages.
New streamClaudeEmptyBody.ts module keeps the frozen stream.ts file size
unchanged while adding the combined partial-lifecycle + truly-empty check.
2026-09-10 16:01:56 -03:00
..
2026-09-03 07:50:41 -03:00
2026-07-02 10:47:13 -03:00
2026-08-05 23:51:43 -03:00
2026-06-26 23:14:27 -03:00
2026-07-17 11:32:25 -03:00
2026-04-24 13:20:59 -03:00
2026-07-17 10:40:56 -03:00
2026-07-17 10:40:56 -03:00
2026-07-27 17:24:43 -03:00
2026-08-11 10:02:48 -03:00
2026-09-02 10:31:41 -03:00
2026-09-02 10:31:41 -03:00
2026-09-02 10:31:41 -03:00
2026-09-02 10:31:41 -03:00
2026-09-02 10:31:41 -03:00
2026-09-02 10:31:41 -03:00
2026-06-17 19:26:32 -03:00
2026-08-11 10:02:48 -03:00
2026-07-04 13:00:30 -03:00
2026-09-03 20:59:14 -03:00
2026-07-17 10:40:22 -03:00
2026-09-03 08:29:14 -03:00
2026-08-24 19:44:12 -03:00
2026-04-28 02:41:19 -03:00
2026-09-08 09:10:36 -03:00
2026-08-21 10:28:01 -03:00
2026-09-03 07:50:41 -03:00
2026-04-17 11:56:52 -03:00
2026-08-13 00:02:25 -03:00
2026-06-29 08:40:06 -03:00
2026-09-03 23:37:47 -03:00
2026-08-17 08:26:57 -07:00
2026-08-18 10:57:31 -03:00
2026-08-20 09:49:55 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 21:31:13 -03:00
2026-08-09 09:53:21 -03:00
2026-08-26 20:49:55 -03:00
2026-07-23 05:03:44 -03:00
2026-06-26 02:51:06 -03:00
2026-08-09 09:52:09 -03:00
2026-08-26 08:13:22 -03:00
2026-09-03 23:38:37 -03:00
2026-05-29 12:44:29 -03:00
2026-06-20 14:55:24 -03:00
2026-08-29 17:37:26 -03:00
2026-09-02 00:01:59 -03:00
2026-09-02 00:01:59 -03:00
2026-06-28 06:58:29 -03:00
2026-06-08 00:47:34 -03:00
2026-07-27 17:24:09 -03:00
2026-07-18 21:19:42 -03:00
2026-08-21 04:25:56 -03:00
2026-06-26 02:51:06 -03:00
2026-05-11 00:41:36 +02:00
2026-08-15 14:23:29 -03:00
2026-08-30 02:31:09 -03:00
2026-08-28 06:52:46 -03:00
2026-08-30 18:03:47 -03:00
2026-05-26 23:51:47 -03:00
2026-08-30 05:28:07 -03:00
2026-08-05 22:41:06 -03:00
2026-08-18 10:52:33 -03:00
2026-08-16 02:20:59 -03:00
2026-09-03 21:31:13 -03:00
2026-08-30 11:09:15 -03:00
2026-07-21 11:50:14 -03:00
2026-06-19 06:49:01 -03:00
2026-08-28 12:37:32 -03:00
2026-08-05 21:43:55 -03:00
2026-08-30 02:31:09 -03:00
2026-06-13 17:27:40 -03:00
2026-08-05 21:43:55 -03:00
2026-09-02 03:14:13 -03:00
2026-08-28 05:16:59 -03:00
2026-08-20 22:20:54 -03:00
2026-09-03 08:29:14 -03:00
2026-08-05 23:52:21 -03:00
2026-09-03 07:50:41 -03:00
2026-09-07 09:15:00 -03:00
2026-09-03 13:00:08 -03:00
2026-09-03 13:00:08 -03:00
2026-08-29 19:52:02 -03:00
2026-07-12 18:07:49 -03:00
2026-08-05 21:43:40 -03:00
2026-09-03 21:31:13 -03:00
2026-09-10 10:18:58 -03:00
2026-09-01 00:50:15 -03:00
2026-09-03 08:29:14 -03:00
2026-08-18 10:53:05 -03:00
2026-07-27 11:29:49 -03:00
2026-08-11 09:16:23 -03:00
2026-04-23 16:28:33 +00:00
2026-08-29 03:06:50 -03:00
2026-08-20 09:49:55 -03:00
2026-09-10 16:01:56 -03:00
2026-08-11 08:50:10 -03:00
2026-09-10 16:01:56 -03:00
2026-08-09 18:47:22 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 21:31:13 -03:00
2026-09-10 10:19:10 -03:00
2026-09-03 08:29:14 -03:00
2026-09-10 10:19:06 -03:00
2026-09-03 21:06:28 -03:00
2026-08-31 14:10:39 -03:00
2026-09-03 23:38:37 -03:00
2026-08-23 14:38:57 -03:00
2026-09-02 03:15:19 -03:00
2026-07-24 09:35:51 -03:00
2026-08-07 20:52:51 -03:00
2026-08-16 00:16:36 -03:00
2026-09-02 10:41:00 -03:00
2026-07-07 21:48:27 -03:00
2026-06-26 02:51:06 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 20:48:58 -03:00
2026-07-02 10:47:13 -03:00
2026-09-10 10:19:02 -03:00
2026-09-03 23:38:37 -03:00
2026-09-02 03:15:19 -03:00