ai: Show "API key configured for {URL}" for non-default urls (#38170)

Followup to #38163, also makes some changes intended to be included in
that PR.

Release Notes:

- N/A
a598fbaa73Michael Sloan committed on 9/15/2025, 5:49:25 AM· committed by GitHubparent634ae72
9 files changedLine totals unavailable