Restore token count for text threads (#36989)

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
b4d4294beeAntonio Scandurra committed on 8/27/2025, 9:29:17 AM· committed by GitHubparente5c0614
2 files changedLine totals unavailable