A Learning Agreement for Generative AI Use in University Courses: A Pilot Study