agent: Show actual file name and icon in context pill (#31813)
Previously in the agent context pill if we added images it showed
generic Image tag on the image context pill. This PR make sure if we
have a path available for a image context show the filename which is in
line with other context pills.
Before | After
--- | ---

| 
Release Notes:
- N/A
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
9c715b470eUmesh Yadav committed on 6/2/2025, 10:35:22 AM· committed by GitHubparentae219e9