agent: Fix "tool cancelled" status being overapplied to failed tool calls (#30021)

Release Notes:

- Agent Beta: Fixed a bug that caused past failed tool calls to
incorrectly display as cancelled by the user.
b83d00d69bCole Miller committed on 5/6/2025, 5:53:00 PM· committed by GitHubparent7a9165d
1 file changedLine totals unavailable