<https://github.com/OpenHands/OpenHands/pull/12027...
# dev-pr-review
s
https://github.com/OpenHands/OpenHands/pull/12027 - Use a utility function rather than manual looping.