agent: Fix max token count mismatch when not using burn mode (#34025)

Closes #31854

Release Notes:

- agent: Fixed an issue where the maximum token count would be displayed
incorrectly when burn mode was not being used.
66a1c356bfBennet Bo Fenner committed on 7/7/2025, 9:13:24 PM· committed by GitHubparenta9107df
7 files changedLine totals unavailable