Two US judges say use of AI led to errors in court rulings