Teknium
51ed7dc2f3
feat: save oversized tool results to file instead of destructive truncation ( #5210 )
...
Previously, tool results exceeding 100K characters were silently chopped
with only a '[Truncated]' notice — the rest of the content was lost
permanently. The model had no way to access the truncated portion.
Now, oversized results are written to HERMES_HOME/cache/tool_responses/
and the model receives:
- A 1,500-char head preview for immediate context
- The file path so it can use read_file/search_files on the full output
This preserves the context window protection (inline content stays small)
while making the full data recoverable. Falls back to the old destructive
truncation if the file write fails.
Inspired by Block/goose's large response handler pattern.
2026-04-05 10:29:57 -07:00
..
2026-04-02 20:54:27 -07:00
2026-04-05 00:10:16 -07:00
2026-04-04 10:43:39 -07:00
2026-04-01 15:23:52 -07:00
2026-04-05 00:28:58 -07:00
2026-04-04 16:55:13 -07:00
2026-04-02 15:33:51 -07:00
2026-03-24 07:30:25 -07:00
2026-04-03 17:49:18 -07:00
2026-04-04 16:57:24 -07:00
2026-03-17 02:02:33 -07:00
2026-03-17 02:53:33 -07:00
2026-04-04 10:18:57 -07:00
2026-03-17 04:24:27 -07:00
2026-04-04 10:18:57 -07:00
2026-04-02 10:30:32 -07:00
2026-03-26 19:21:34 -07:00
2026-04-01 15:22:26 -07:00
2026-03-27 09:45:25 -07:00
2026-04-05 00:20:53 -07:00
2026-03-17 04:46:15 -07:00
2026-04-03 22:43:45 -07:00
2026-03-25 15:00:33 -07:00
2026-04-01 01:12:23 -07:00
2026-03-21 09:42:07 -07:00
2026-04-02 00:40:27 -07:00
2026-04-03 00:50:49 -07:00
2026-03-17 02:53:33 -07:00
2026-03-20 04:35:17 -07:00
2026-03-17 02:05:26 -07:00
2026-03-23 06:20:19 -07:00
2026-04-02 15:33:51 -07:00
2026-03-31 12:21:55 -07:00
2026-03-29 23:59:07 -07:00
2026-03-30 08:10:14 -07:00
2026-03-30 21:17:09 -07:00
2026-04-02 09:36:24 -07:00
2026-03-18 15:22:51 -07:00
2026-03-30 18:49:14 -07:00
2026-03-29 16:04:53 -07:00
2026-03-23 16:02:06 -07:00
2026-03-27 21:42:09 -07:00
2026-03-23 06:40:05 -07:00
2026-03-22 05:58:26 -07:00
2026-04-05 00:20:53 -07:00
2026-04-05 00:20:53 -07:00
2026-03-25 17:31:56 -07:00
2026-04-01 02:13:57 -07:00
2026-04-02 15:33:51 -07:00
2026-03-18 02:42:58 -07:00
2026-04-02 00:49:11 -07:00
2026-04-02 15:33:51 -07:00
2026-03-17 03:44:44 -07:00
2026-03-17 02:53:33 -07:00
2026-03-17 02:53:33 -07:00
2026-04-05 10:29:57 -07:00
2026-04-03 02:05:02 -07:00
2026-03-29 15:47:19 -07:00
2026-03-24 08:19:23 -07:00
2026-03-19 21:24:53 +01:00
2026-04-02 09:36:24 -07:00
2026-03-20 15:41:06 -04:00
2026-03-30 17:34:43 -07:00
2026-03-28 14:55:18 -07:00
2026-03-29 20:05:59 -07:00
2026-04-04 16:55:44 -07:00
2026-04-02 10:52:01 -07:00
2026-04-02 09:21:37 -07:00
2026-03-29 16:04:53 -07:00
2026-04-05 00:13:25 -07:00
2026-03-17 02:53:33 -07:00
2026-03-17 02:53:33 -07:00
2026-03-27 09:57:50 -07:00
2026-03-19 10:34:44 -07:00
2026-04-05 10:29:57 -07:00
2026-04-03 18:47:51 -07:00
2026-04-03 14:57:33 -07:00
2026-03-25 18:22:21 -07:00
2026-04-02 09:36:24 -07:00
2026-03-19 15:16:35 +01:00
2026-03-31 12:05:06 -07:00
2026-04-05 00:13:25 -07:00
2026-03-28 16:53:14 -07:00
2026-04-02 10:47:13 -07:00
2026-03-21 09:41:17 -07:00
2026-03-30 13:16:16 -07:00
2026-03-30 20:36:56 -07:00
2026-03-30 13:28:10 +09:00