lekt8
8450cee02a
Surface upload failures instead of silently dropping the files ( #1425 )
...
uploadPending() read `data.files` from /api/upload without checking `res.ok`, so
a non-OK response (429 rate limit, 413 too large, …) was swallowed: the pending
files vanished and the chat sent with no attachments and no feedback — part of
why the model "didn't even see them" in #1346 .
Check res.ok; on failure show the server's reason via a toast and keep the
pending files so the attach strip re-renders for a retry (matching the existing
"restored on error" comment that the code never actually honored).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-03 04:12:23 +09:00
..
2026-06-02 23:14:52 +09:00
2026-06-03 00:30:03 +09:00
2026-06-01 14:23:22 -04:00
2026-06-02 11:12:54 +09:00
2026-06-02 20:32:56 +09:00
2026-06-02 22:41:27 +09:00
2026-06-01 14:26:10 +09:00
2026-06-01 22:04:00 +02:00
2026-06-02 20:36:54 +09:00
2026-06-02 12:42:15 +09:00
2026-06-02 23:14:52 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 22:32:50 +09:00
2026-06-03 04:07:31 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 12:15:47 +09:00
2026-06-02 22:42:07 +09:00
2026-06-03 03:26:43 +09:00
2026-06-03 03:48:25 +09:00
2026-06-03 00:09:48 +09:00
2026-06-03 02:08:09 +09:00
2026-06-02 22:42:07 +09:00
2026-06-02 20:43:34 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 11:42:20 +09:00
2026-06-02 22:42:07 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 14:23:22 -04:00
2026-06-03 04:12:23 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 04:05:40 +09:00
2026-06-02 23:31:09 +09:00
2026-06-02 11:12:54 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 01:59:05 +09:00
2026-06-01 22:32:17 +09:00
2026-06-02 22:42:07 +09:00
2026-06-02 22:42:07 +09:00
2026-06-02 13:14:22 +09:00
2026-06-02 06:26:32 +09:00
2026-06-01 14:26:10 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 07:00:40 +09:00
2026-06-02 11:29:29 +09:00
2026-06-02 11:12:54 +09:00
2026-06-03 04:09:28 +09:00
2026-06-01 14:26:10 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 16:53:46 +02:00
2026-06-02 23:52:22 +09:00
2026-06-02 20:57:57 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 09:36:03 +09:00
2026-06-02 09:36:03 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 22:42:07 +09:00
2026-06-03 00:30:03 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 23:43:53 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 22:42:07 +09:00
2026-06-01 19:49:23 +02:00