Ettore Di Giacinto
528ce11c63
fix(chats): retry a failed turn from where it stopped
...
The Retry button of the failure card called regenerate, which cut the
transcript back to the user's message and ran it again. Every message,
tool call and result the failed run had produced was lost, on the
server and on the page.
Add POST /api/chats/{id}/resume. It starts a turn from the transcript
as it is: nothing is removed, the model keeps its own saved state (so
finished tool calls are not repeated and a compaction summary stays),
messages that waited are delivered first, and the model gets a note to
go on instead of the question again. It does nothing when the chat is
not at a failed turn or a turn runs, so a double click starts one run.
The reason of a failure is now kept as a transcript line, so a reload
shows the same card text as the live page. The card stands after the
kept messages.
Assisted-by: Claude:claude-sonnet-5-5
2026-11-05 11:26:42 +00:00
..
2026-11-04 19:45:08 +00:00
2026-11-05 01:21:17 +00:00
2026-11-04 18:26:20 +00:00
2026-11-04 18:01:50 +00:00
2026-11-05 09:53:17 +00:00
2026-11-05 09:16:07 +00:00
2026-11-03 22:33:28 +00:00
2026-11-04 17:25:40 +00:00
2026-11-03 16:56:49 +00:00
2026-11-03 10:58:46 +00:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-04 18:26:20 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:43:37 +00:00
2026-11-05 09:15:21 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 19:23:01 +00:00
2026-11-01 18:30:08 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-05 01:21:17 +00:00
2026-11-01 12:08:23 +01:00
2026-11-05 07:34:19 +00:00
2026-11-03 08:39:12 +00:00
2026-11-05 11:26:42 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 19:10:39 +00:00
2026-11-04 19:02:54 +00:00
2026-11-05 11:26:42 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 18:03:27 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:33:05 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 10:17:23 +00:00
2026-11-03 19:10:39 +00:00
2026-11-03 19:12:29 +00:00
2026-11-01 18:30:08 +01:00
2026-11-01 18:30:08 +01:00
2026-11-05 00:59:43 +00:00
2026-11-03 14:45:43 +00:00
2026-11-05 00:59:43 +00:00
2026-11-03 22:46:22 +00:00
2026-11-05 10:01:46 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:33:05 +00:00
2026-11-01 18:30:08 +01:00
2026-11-03 14:33:05 +00:00
2026-11-03 14:33:05 +00:00
2026-11-03 14:33:05 +00:00
2026-11-03 14:33:05 +00:00
2026-11-03 14:33:05 +00:00
2026-11-03 14:33:05 +00:00
2026-11-03 08:30:08 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 18:26:20 +00:00
2026-11-03 19:10:39 +00:00
2026-11-04 19:45:08 +00:00
2026-11-05 10:01:46 +00:00
2026-11-05 10:01:46 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-04 09:14:18 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:45:43 +00:00
2026-11-03 14:45:43 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 19:38:55 +00:00
2026-11-03 14:00:45 +00:00
2026-11-03 14:33:05 +00:00
2026-11-01 12:08:23 +01:00
2026-11-05 01:21:17 +00:00
2026-11-03 22:46:22 +00:00
2026-11-04 19:45:08 +00:00
2026-11-05 01:21:17 +00:00
2026-11-04 14:54:15 +00:00
2026-11-05 09:15:21 +00:00
2026-11-05 09:15:21 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 17:25:40 +00:00
2026-11-05 11:26:42 +00:00
2026-11-04 17:45:59 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-05 11:26:42 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:32:01 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:43:37 +00:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-03 22:33:28 +00:00
2026-11-03 22:33:28 +00:00
2026-11-03 22:33:28 +00:00
2026-11-04 19:45:08 +00:00
2026-11-05 10:01:46 +00:00
2026-11-04 10:11:25 +00:00
2026-11-03 21:17:39 +00:00
2026-11-03 21:17:39 +00:00
2026-11-03 21:17:39 +00:00
2026-11-04 19:45:08 +00:00
2026-11-05 09:15:21 +00:00
2026-11-04 18:03:27 +00:00
2026-11-03 22:02:30 +00:00
2026-11-05 09:53:17 +00:00
2026-11-04 17:18:41 +00:00
2026-11-04 17:18:41 +00:00
2026-11-04 18:03:27 +00:00
2026-11-04 13:50:05 +00:00
2026-11-04 10:11:25 +00:00
2026-11-05 01:21:17 +00:00
2026-11-05 09:53:17 +00:00
2026-11-04 18:03:27 +00:00
2026-11-05 09:25:21 +00:00
2026-11-03 16:57:04 +00:00
2026-11-03 16:57:04 +00:00
2026-11-04 18:03:27 +00:00
2026-11-04 18:03:27 +00:00
2026-11-04 13:35:18 +00:00
2026-11-04 18:03:27 +00:00
2026-11-03 14:00:31 +00:00
2026-11-04 18:03:27 +00:00
2026-11-03 14:00:31 +00:00
2026-11-04 09:14:18 +00:00
2026-11-04 18:03:27 +00:00
2026-11-04 17:18:41 +00:00
2026-11-04 17:18:41 +00:00
2026-11-05 09:41:14 +00:00
2026-11-03 21:29:29 +00:00
2026-11-05 09:42:54 +00:00
2026-11-04 09:14:18 +00:00
2026-11-05 09:41:14 +00:00
2026-11-03 16:57:04 +00:00
2026-11-03 21:28:48 +00:00
2026-11-05 09:25:21 +00:00
2026-11-03 16:57:04 +00:00
2026-11-03 16:57:04 +00:00
2026-11-04 13:35:18 +00:00
2026-11-03 14:32:01 +00:00
2026-11-05 09:41:14 +00:00
2026-11-04 13:44:22 +00:00
2026-11-04 09:12:09 +00:00
2026-11-04 13:44:22 +00:00
2026-11-01 12:08:23 +01:00
2026-11-05 09:53:17 +00:00
2026-11-03 16:57:04 +00:00
2026-11-05 09:25:21 +00:00
2026-11-04 09:12:09 +00:00
2026-11-05 09:42:54 +00:00
2026-11-04 13:50:05 +00:00
2026-11-05 09:53:17 +00:00
2026-11-04 17:18:41 +00:00
2026-11-04 13:44:22 +00:00
2026-11-04 13:44:22 +00:00
2026-11-03 14:59:30 +00:00
2026-11-04 10:17:23 +00:00
2026-11-03 16:57:04 +00:00
2026-11-04 09:14:18 +00:00
2026-11-04 18:03:27 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-04 18:26:20 +00:00
2026-11-05 09:41:14 +00:00
2026-11-05 09:54:41 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:00:45 +00:00
2026-11-03 22:33:28 +00:00
2026-11-03 10:58:46 +00:00
2026-11-03 10:58:46 +00:00
2026-11-03 10:58:46 +00:00
2026-11-03 10:58:46 +00:00
2026-11-02 18:48:39 +01:00
2026-11-03 10:43:37 +00:00
2026-11-03 10:43:37 +00:00
2026-11-03 10:58:46 +00:00
2026-11-03 10:58:46 +00:00
2026-11-03 11:31:36 +00:00
2026-11-03 11:31:37 +00:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 16:57:04 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:56:42 +00:00
2026-11-05 01:21:17 +00:00
2026-11-05 01:21:17 +00:00
2026-11-04 18:04:50 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-04 18:04:50 +00:00
2026-11-04 18:04:50 +00:00
2026-11-03 08:39:12 +00:00
2026-11-04 10:19:45 +00:00
2026-11-04 18:03:27 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-05 09:15:21 +00:00
2026-11-05 09:15:21 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-04 17:25:40 +00:00
2026-11-03 11:31:36 +00:00
2026-11-03 08:38:53 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-04 11:38:51 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 11:38:51 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 17:50:26 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 19:12:29 +00:00
2026-11-04 18:26:20 +00:00
2026-11-04 19:45:08 +00:00
2026-11-05 09:54:41 +00:00
2026-11-05 09:54:41 +00:00
2026-11-04 19:45:08 +00:00
2026-11-04 19:45:08 +00:00
2026-11-05 09:41:14 +00:00
2026-11-05 01:45:30 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:45:43 +00:00
2026-11-03 10:58:46 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:00:31 +00:00
2026-11-05 02:22:39 +00:00
2026-11-05 01:45:30 +00:00
2026-11-05 00:59:43 +00:00
2026-11-05 01:45:30 +00:00
2026-11-03 14:33:05 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 18:30:08 +01:00
2026-11-03 19:12:29 +00:00
2026-11-03 11:31:36 +00:00
2026-11-01 18:30:08 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 08:30:08 +00:00
2026-11-05 01:45:30 +00:00
2026-11-02 18:48:39 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:07:46 +00:00
2026-11-03 10:07:46 +00:00
2026-11-03 14:56:42 +00:00
2026-11-02 18:48:39 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 21:03:50 +01:00
2026-11-01 12:08:23 +01:00
2026-11-04 17:25:40 +00:00
2026-11-03 08:38:53 +00:00
2026-11-03 22:33:28 +00:00
2026-11-05 09:41:14 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 21:03:50 +01:00
2026-11-03 14:42:21 +00:00
2026-11-04 17:17:38 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:33:05 +00:00
2026-11-02 23:50:40 +00:00
2026-11-03 14:45:43 +00:00
2026-11-04 10:17:23 +00:00
2026-11-04 18:03:27 +00:00
2026-11-04 18:03:27 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 19:12:29 +00:00
2026-11-03 14:42:21 +00:00
2026-11-04 18:03:27 +00:00
2026-11-03 14:59:30 +00:00
2026-11-04 18:03:27 +00:00
2026-11-04 18:03:27 +00:00
2026-11-03 19:12:29 +00:00
2026-11-04 18:03:27 +00:00
2026-11-02 23:50:40 +00:00
2026-11-03 19:12:29 +00:00
2026-11-03 22:02:30 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 18:03:27 +00:00
2026-11-04 18:04:50 +00:00
2026-11-03 14:56:42 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00