Commit 9eaddac
committed
feat: tool results as new messages instead of edits
On tool_result, send a NEW message (🔧 tool_name ✅ (size)) instead
of editing the previous tool_call message. The initial tool_call
message is deleted after the result arrives.
This preserves the full agent timeline in chat history — the user
can scroll up through each step: 💭 reasoning → 🔧 call → ✅ result.1 parent 0013fa0 commit 9eaddac
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
1159 | 1168 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
| 1169 | + | |
1167 | 1170 | | |
| 1171 | + | |
1168 | 1172 | | |
1169 | 1173 | | |
1170 | 1174 | | |
| |||
0 commit comments