Vinicius Brasil
58fc692b03
Expose raw tool result to after_tool_call hooks
...
Typed tools format their output to JSON before handing it to the agent,
so `tool_result` reaches after hooks as a string and the original Python
object is lost. Thread the unformatted result through as
`raw_tool_result` so hooks can inspect the typed value. This covers all
execution paths: native tool calls, the ReAct `ToolUsage` path, cached
results, and error/blocked branches.
2026-06-18 21:20:30 -07:00
..
2026-05-26 10:23:33 -07:00
2026-06-18 21:20:30 -07:00
2026-06-03 11:53:16 -07:00
2026-06-17 12:14:50 -03:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-06-10 18:39:05 -07:00
2026-05-28 09:38:10 -07:00
2026-06-18 21:20:30 -07:00
2026-06-14 04:19:48 -03:00
2026-06-14 04:19:48 -03:00
2026-05-27 13:38:25 -07:00
2026-06-18 14:14:54 -03:00
2025-11-29 16:55:24 -05:00
2026-06-18 14:53:33 -07:00
2026-06-14 04:19:48 -03:00
2026-05-26 10:23:33 -07:00
2026-05-28 09:38:10 -07:00
2026-02-13 21:34:37 -03:00
2026-05-04 18:42:12 +08:00
2026-06-15 09:34:01 -07:00
2026-06-18 21:20:30 -07:00
2026-06-03 11:53:16 -07:00
2026-06-18 21:20:30 -07:00
2025-10-20 14:10:19 -07:00
2026-03-15 18:33:17 -07:00
2026-06-14 04:19:48 -03:00
2026-05-26 10:23:33 -07:00
2026-05-06 20:46:46 +08:00
2026-06-18 12:18:22 -07:00
2026-01-22 17:44:03 -08:00
2026-05-27 13:20:53 -07:00
2025-10-20 14:10:19 -07:00
2026-06-17 12:14:50 -03:00
2026-05-26 10:23:33 -07:00
2026-06-10 16:12:28 -07:00
2026-05-26 10:23:33 -07:00
2026-06-10 16:49:16 -07:00
2026-05-26 10:23:33 -07:00
2026-06-18 14:53:33 -07:00
2026-06-18 14:53:33 -07:00
2026-05-26 10:23:33 -07:00
2026-01-23 15:13:25 -05:00
2026-06-08 21:14:13 -05:00
2026-05-26 10:23:33 -07:00
2025-10-20 14:10:19 -07:00
2026-06-12 12:55:22 -04:00
2026-06-11 14:18:49 -07:00
2026-06-11 14:18:49 -07:00
2026-04-28 14:57:49 +08:00
2025-10-20 14:10:19 -07:00
2026-06-14 04:19:48 -03:00
2026-06-14 04:19:48 -03:00
2025-10-20 14:10:19 -07:00
2026-06-05 07:23:38 -04:00
2026-06-14 04:19:48 -03:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-05-26 10:23:33 -07:00
2026-06-14 04:19:48 -03:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-05-26 10:23:33 -07:00
2026-04-01 18:08:37 -03:00