agent: Fix thinking step showing up as pending even though it is completed (#27926)

Release Notes:

- N/A
da3383b10eBennet Bo Fenner committed on 4/2/2025, 3:43:39 PM· committed by GitHubparent9c4e61e
1 file changedLine totals unavailable