agent: Fix unnecessary "tool result too long" (#30798)

Release Notes:

- N/A
cc3a28a8e8Oleksiy Syvokon committed on 5/16/2025, 6:39:02 AM· committed by GitHubparent0f17e82
1 file changedLine totals unavailable