justincc
a61420952e
fix(agent): set tool_name on tool-result messages at construction time
...
Introduces make_tool_result_message() in tool_dispatch_helpers.py as the
single place where tool-result message dicts are built. All six construction
sites in tool_executor.py, agent_runtime_helpers.py, and mini_swe_runner.py
now use it, so tool_name is set in memory from the moment a message is
created rather than relying on fallback logic in the flush paths.
Fixes blank tool_name in both state.db and JSON session logs.
Adds tests.
2026-05-19 20:49:11 +01:00
..
2026-05-13 23:11:43 -07:00
2026-05-01 18:39:12 +05:30
2026-05-04 05:06:33 -07:00
2026-05-19 01:28:32 -07:00
2026-05-12 20:46:04 -07:00
2026-05-17 02:29:41 -07:00
2026-05-12 13:59:22 -04:00
2026-05-13 22:12:47 -07:00
2026-05-13 22:12:47 -07:00
2026-05-16 20:33:38 -07:00
2026-05-18 10:14:38 -07:00
2026-05-14 07:55:09 -07:00
2026-05-09 21:06:19 -07:00
2026-05-18 20:08:09 -07:00
2026-05-09 12:28:42 -07:00
2026-05-18 21:43:59 -07:00
2026-05-14 14:28:14 -07:00
2026-05-08 14:55:40 -07:00
2026-04-27 08:35:50 -07:00
2026-04-30 23:04:23 -07:00
2026-04-30 11:18:39 -07:00
2026-05-07 08:35:10 -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-05-04 12:37:28 -07:00
2026-05-16 22:55:49 -07:00
2026-05-05 05:00:05 -07:00
2026-05-10 22:28:01 -07:00
2026-05-16 22:55:49 -07:00
2026-04-29 04:57:22 -07:00
2026-05-07 08:35:10 -07:00
2026-05-16 17:12:48 -07:00
2026-05-15 14:06:51 -07:00
2026-05-09 12:48:19 -07:00
2026-05-17 11:55:25 -07:00
2026-05-09 22:51:25 -07:00
2026-05-15 12:11:32 -07:00
2026-05-18 20:06:49 -07:00
2026-05-12 00:16:45 +05:30
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-05-16 17:09:41 -07:00
2026-05-13 17:32:22 -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-05-19 00:12:12 -07:00
2026-05-16 18:24:05 -07:00
2026-05-19 20:49:11 +01:00
2026-04-27 06:27:59 -07:00