anthropic: Fix error when attaching multiple images (#32092)

Closes #31438

Release Notes:

- agent: Fixed an edge case were the request would fail when using
Claude and multiple images were attached

---------

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
28da99cc06Bennet Bo Fenner committed on 6/5/2025, 4:29:49 PM· committed by GitHubparentd2c265c
1 file changedLine totals unavailable