fix: Adjust ToolGroupMessage filtering to hide Confirming and show Canceled tool calls. (#22230)

This commit is contained in:
Sri Pasumarthi
2026-03-16 08:50:11 -07:00
committed by GitHub
parent 8bad5823a9
commit e3df87cf1a
4 changed files with 38 additions and 12 deletions
@@ -49,6 +49,15 @@ exports[`<ToolGroupMessage /> > Border Color Logic > uses yellow border for shel
"
`;
exports[`<ToolGroupMessage /> > Golden Snapshots > renders canceled tool calls > canceled_tool 1`] = `
"╭──────────────────────────────────────────────────────────────────────────╮
│ - canceled-tool A tool for testing │
│ │
│ Test result │
╰──────────────────────────────────────────────────────────────────────────╯
"
`;
exports[`<ToolGroupMessage /> > Golden Snapshots > renders empty tool calls array 1`] = `""`;
exports[`<ToolGroupMessage /> > Golden Snapshots > renders header when scrolled 1`] = `