Seeking resilience in AI-related credit