ep: Ensure prompt is always within token limit (#51529)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
8a7daea560Ben Kunkle committed on 3/14/2026, 5:53:28 PM· committed by GitHubparente482301
4 files changedLine totals unavailable