pub fn api_url_is_local(url: &str) -> bool
Returns true if the URL host resolves to a loopback address (localhost, 127.x, ::1). Used to gate warnings when a workspace config redirects inference to a remote host.