InB4DevOps
4f8aaf1046
perf(run_agent): accumulate length-continuation prefix via list+join
...
Replace O(n²) string concatenation of truncated_response_prefix in the
length-continuation retry loop with a list + ''.join(). Functionally
equivalent: same partial response on early return, same prepend on
final assembly. The legacy retry path is capped at 3 iterations, so
the practical wall-clock win is small, but the new idiom matches the
rest of the codebase and removes a needless repeated allocation.
Salvaged from PR #2717 (the run_conversation portion only — trajectory
refactor dropped because it silently rewrote </tool_response> to </think>).
Co-authored-by: Teknium <127238744+teknium1@users.noreply.github.com >
2026-05-15 01:42:08 -07:00
..
2026-04-07 17:19:07 -07:00
2026-04-17 14:21:22 -07:00
2026-05-13 23:11:43 -07:00
2026-05-01 18:39:12 +05:30
2026-04-17 12:32:03 -07:00
2026-05-04 05:06:33 -07:00
2026-04-19 11:23:00 -07:00
2026-05-12 20:46:04 -07:00
2026-04-19 22:43:09 -07:00
2026-05-15 01:42:08 -07:00
2026-04-23 13:59:32 -07:00
2026-05-12 13:59:22 -04:00
2026-05-13 22:12:47 -07:00
2026-04-24 03:10:19 -07:00
2026-05-13 22:12:47 -07:00
2026-05-13 22:12:47 -07:00
2026-05-14 07:55:09 -07:00
2026-05-09 21:06:19 -07:00
2026-05-09 12:28:42 -07:00
2026-04-25 08:21:14 -07:00
2026-04-26 19:07:18 -07:00
2026-04-07 17:19:07 -07:00
2026-05-14 14:28:14 -07:00
2026-04-17 12:32:03 -07:00
2026-04-20 05:12:10 -07:00
2026-04-07 17:19:07 -07:00
2026-05-08 14:55:40 -07:00
2026-04-19 11:23:00 -07:00
2026-04-27 08:35:50 -07:00
2026-04-17 12:32:03 -07:00
2026-04-24 03:04:42 -07:00
2026-04-17 12:32:03 -07:00
2026-04-30 23:04:23 -07:00
2026-04-30 11:18:39 -07:00
2026-04-13 10:50:24 -07:00
2026-05-07 08:35:10 -07:00
2026-04-17 14:21:22 -07:00
2026-05-09 17:53:56 -07:00
2026-05-13 06:46:23 -07:00
2026-05-11 07:37:22 -07:00
2026-04-27 06:27:59 -07:00
2026-05-02 02:09:46 -07:00
2026-04-07 17:19:07 -07:00
2026-04-20 23:20:33 -07:00
2026-04-15 22:05:21 -07:00
2026-05-04 12:37:28 -07:00
2026-04-24 05:02:58 -07:00
2026-05-05 05:00:05 -07:00
2026-04-07 17:19:07 -07:00
2026-05-10 22:28:01 -07:00
2026-05-09 12:48:03 -07:00
2026-04-18 22:50:55 -07:00
2026-04-29 04:57:22 -07:00
2026-05-07 08:35:10 -07:00
2026-04-07 17:19:07 -07:00
2026-04-10 03:44:43 -07:00
2026-04-17 12:32:03 -07:00
2026-04-24 05:35:43 -07:00
2026-05-08 03:22:11 -07:00
2026-05-09 12:48:19 -07:00
2026-05-12 20:49:20 -07:00
2026-04-13 10:50:24 -07:00
2026-04-07 17:19:07 -07:00
2026-04-24 15:06:41 -07:00
2026-04-24 05:32:08 -07:00
2026-05-09 22:51:25 -07:00
2026-04-27 12:37:33 -07:00
2026-04-22 18:34:25 -07:00
2026-05-11 06:44:58 -07:00
2026-04-16 16:36:33 -07:00
2026-05-12 00:16:45 +05:30
2026-04-07 17:19:07 -07:00
2026-04-07 17:19:07 -07:00
2026-04-20 22:18:49 -07:00
2026-05-09 22:49:35 -07:00
2026-04-25 09:51:39 -07:00
2026-05-15 10:36:38 +05:30
2026-04-28 11:33:07 -07:00
2026-04-07 17:19:07 -07:00
2026-04-22 18:12:42 -07:00
2026-05-13 17:32:22 -07:00
2026-04-24 05:35:43 -07:00
2026-04-28 03:50:51 -07:00
2026-05-09 14:36:58 -07:00
2026-05-04 05:00:37 -07:00
2026-05-04 05:06:33 -07:00
2026-04-30 20:43:15 -07:00
2026-04-30 16:26:26 -07:00
2026-04-15 15:03:28 -07:00
2026-04-27 06:27:59 -07:00