Mohammad Hijjawi
2f8a06515e
Surface output-limit truncation instead of misformat retries
...
Record the Chat Completions finish_reason on LLMResult and add a
message_loop_result extension that, when a turn stopped at the output
token limit (finish_reason "length"/"max_tokens") without a complete
tool request, retries with a warning naming truncation as the cause
rather than the generic misformat message. The warning counts toward
the existing unusable-response loop limit.
Context Doctor now leaves results already handled by an earlier
extension untouched, so truncated envelopes are not repaired and
dispatched with cut-off arguments.
Fixes #1836
2026-10-13 19:38:05 +02:00
..
2026-10-07 14:50:32 +02:00
2025-11-09 15:13:04 +01:00
2026-09-06 21:39:18 +02:00
2026-08-12 14:34:15 +02:00
2026-05-30 22:39:44 +02:00
2026-07-17 15:59:30 +02:00
2026-07-27 10:14:52 +02:00
2026-10-02 18:03:32 +02:00
2026-09-30 15:41:18 +02:00
2026-09-02 16:34:13 +02:00
2026-08-12 14:34:15 +02:00
2026-09-30 19:03:54 +02:00
2026-05-11 08:49:06 +02:00
2026-09-23 08:28:12 +02:00
2026-10-08 01:14:08 +02:00
2026-10-08 01:14:08 +02:00
2026-08-23 14:15:36 +02:00
2026-09-22 08:55:56 +02:00
2026-09-06 22:07:05 +02:00
2026-09-19 03:22:59 +02:00
2026-09-23 14:07:35 +02:00
2026-10-10 14:10:35 +02:00
2026-09-22 12:03:49 +02:00
2026-07-21 00:56:59 +02:00
2026-06-04 14:54:39 +02:00
2026-09-08 15:43:07 +02:00
2026-09-07 09:20:08 +02:00
2026-06-08 12:41:53 +02:00
2026-10-10 16:36:08 +02:00
2026-09-04 00:20:45 +02:00
2026-05-29 15:51:59 +02:00
2026-08-31 01:55:40 +02:00
2026-10-12 21:58:36 +02:00
2026-09-19 14:02:13 +02:00
2026-07-27 10:15:02 +02:00
2026-09-09 01:40:04 +02:00
2026-09-12 18:48:56 +02:00
2026-09-09 13:54:54 +02:00
2026-10-12 17:57:20 +02:00
2026-09-23 15:19:12 +02:00
2026-03-18 12:40:33 +01:00
2026-03-05 17:28:11 +01:00
2026-06-12 03:11:00 +02:00
2026-04-16 15:21:01 +02:00
2026-09-09 01:40:04 +02:00
2026-09-09 01:40:04 +02:00
2026-09-17 04:23:42 +02:00
2026-09-17 04:23:42 +02:00
2026-09-09 01:40:04 +02:00
2026-09-09 01:40:04 +02:00
2026-09-09 01:40:04 +02:00
2026-09-04 00:20:07 +03:00
2026-03-05 17:28:11 +01:00
2026-09-17 04:23:42 +02:00
2026-10-07 14:50:32 +02:00
2026-07-28 09:26:06 +02:00
2026-07-07 16:59:49 +02:00
2026-10-11 19:27:39 +02:00
2026-09-14 16:38:01 +02:00
2026-09-04 00:21:58 +02:00
2026-05-12 04:15:10 +02:00
2026-09-06 20:38:35 +02:00
2026-09-03 03:54:51 +03:00
2026-08-12 14:34:15 +02:00
2026-10-13 15:48:32 +02:00
2026-07-16 02:29:39 +02:00
2026-05-26 15:31:33 +02:00
2026-08-23 14:15:51 +02:00
2026-08-23 16:49:03 +02:00
2026-06-02 09:42:47 +02:00
2026-08-23 14:15:51 +02:00
2026-08-27 06:31:42 +02:00
2026-10-13 19:38:05 +02:00
2026-07-16 15:30:37 +02:00
2026-07-17 17:00:40 +02:00
2026-10-07 15:30:09 +02:00
2026-09-23 18:10:54 +02:00
2026-09-19 14:02:13 +02:00
2026-09-07 00:11:53 +02:00
2026-09-30 02:29:59 +00:00
2026-09-23 18:11:13 +02:00
2026-10-13 19:38:05 +02:00
2026-09-07 00:08:28 +02:00
2026-09-06 20:32:18 +02:00
2026-08-26 15:27:36 +02:00
2026-09-06 06:31:21 +02:00
2026-09-23 21:56:23 +02:00
2026-06-01 14:55:08 +02:00
2026-07-02 17:29:40 +02:00
2026-09-23 16:13:22 +02:00
2026-10-07 23:57:22 +02:00
2026-09-23 21:56:23 +02:00
2026-06-01 14:55:08 +02:00
2026-09-08 15:02:57 +02:00
2026-09-08 12:40:08 +02:00
2026-10-13 17:23:11 +02:00
2026-10-07 15:30:09 +02:00
2026-10-08 21:36:02 +02:00
2026-09-12 18:24:54 +02:00
2026-09-18 22:58:47 +08:00
2026-09-23 14:52:51 +02:00
2026-08-12 14:34:16 +02:00
2026-10-11 19:27:39 +02:00
2026-09-06 22:08:21 +02:00
2026-09-23 18:27:38 +02:00
2026-10-08 16:42:58 +02:00
2026-09-16 00:44:04 +02:00
2026-08-12 14:34:16 +02:00
2026-05-21 04:02:43 +02:00
2026-09-08 03:09:16 +02:00
2026-07-16 15:30:37 +02:00
2026-08-12 14:34:15 +02:00
2026-09-08 03:09:16 +02:00
2026-09-23 00:32:20 +02:00
2026-08-31 01:56:02 +02:00
2026-09-06 20:19:45 +02:00
2026-07-25 00:44:56 +02:00
2026-10-06 18:49:30 +02:00
2026-10-07 18:18:51 +02:00
2026-09-12 18:24:54 +02:00
2026-06-16 16:29:00 +02:00
2026-09-24 00:59:39 +02:00
2026-09-19 02:31:45 +02:00
2026-09-06 18:42:05 +02:00
2026-09-06 18:42:05 +02:00
2026-09-19 02:31:45 +02:00
2026-10-11 19:27:39 +02:00
2026-07-02 17:29:40 +02:00
2026-06-22 10:26:05 +02:00
2026-09-23 15:56:37 +02:00
2026-10-06 18:49:30 +02:00
2026-09-23 14:53:43 +02:00
2026-07-08 01:52:22 +02:00
2026-07-17 15:20:33 +02:00
2026-09-08 03:09:16 +02:00
2026-06-18 13:14:19 +02:00
2026-10-13 14:03:22 +02:00
2026-08-26 15:27:36 +02:00
2026-02-01 16:07:45 +01:00
2026-02-01 16:07:45 +01:00
2026-08-16 15:22:10 +02:00
2026-08-26 15:27:36 +02:00
2026-08-26 15:27:36 +02:00
2026-03-26 01:12:22 -07:00
2026-07-28 09:26:06 +02:00
2026-10-13 15:48:32 +02:00
2026-08-12 14:34:15 +02:00
2026-09-30 15:55:03 +02:00
2026-09-30 15:55:03 +02:00
2026-10-13 17:23:11 +02:00
2026-05-11 11:51:58 +02:00
2026-09-14 13:21:15 +02:00
2026-05-29 00:10:04 +05:30
2026-05-29 00:10:04 +05:30
2026-05-29 00:10:04 +05:30
2026-05-29 00:10:04 +05:30
2026-05-29 00:10:04 +05:30
2026-09-09 10:14:39 +02:00
2026-09-14 23:00:41 +02:00
2026-09-03 15:08:59 +03:00
2026-08-12 14:34:16 +02:00
2026-07-09 17:26:39 +02:00
2026-05-22 11:21:04 +02:00
2026-09-12 18:24:54 +02:00
2026-09-05 15:18:13 +03:00
2026-09-10 15:20:37 +03:00
2026-07-28 16:46:38 +02:00
2026-06-19 08:11:38 +02:00
2026-10-06 18:49:30 +02:00
2026-06-01 02:11:58 +02:00
2026-07-29 19:49:07 +02:00
2026-09-09 07:50:57 +02:00
2026-06-23 18:47:10 +02:00
2026-10-13 19:38:05 +02:00
2026-07-27 10:15:02 +02:00
2026-08-19 12:14:29 +02:00
2026-08-26 01:57:05 +02:00
2026-10-13 16:21:41 +02:00
2026-07-02 17:29:40 +02:00
2026-09-22 08:55:56 +02:00
2026-07-31 13:32:41 +00:00
2026-07-14 15:57:54 +02:00
2026-07-14 15:57:54 +02:00
2026-09-04 00:20:07 +03:00
2026-09-16 16:17:37 +02:00
2026-07-31 13:32:41 +00:00
2026-10-13 15:09:06 +02:00
2026-09-16 16:36:23 +02:00
2026-07-29 19:49:07 +02:00
2026-09-23 06:24:49 +02:00
2026-09-23 14:07:49 +02:00
2026-09-04 00:23:53 +02:00
2026-07-02 17:29:40 +02:00
2026-09-09 08:38:46 +02:00
2026-09-14 14:08:47 +02:00
2026-09-14 14:08:47 +02:00
2026-09-09 08:50:01 +02:00
2026-03-31 09:47:25 +02:00
2026-03-31 09:47:25 +02:00
2026-09-07 18:15:59 +02:00
2026-06-04 14:54:39 +02:00
2026-03-26 01:12:22 -07:00
2026-07-27 10:14:52 +02:00
2026-03-26 01:12:22 -07:00