Commit f64a922
committed
perf(agent): append post-tool hook note in place
Addresses review feedback: append_post_tool_output receives the tool result
by value, so push the hook note onto the existing buffer instead of
allocating a new string and copying the (potentially large) tool output.1 parent f992d1b commit f64a922
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
294 | 296 | | |
295 | | - | |
296 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
297 | 305 | | |
298 | 306 | | |
299 | 307 | | |
| |||
0 commit comments