To ensure the baked chocolate chip cookies set, remove the air fryer basket from the air fryer and allow the cookies to sit for a few minutes before transferring them to a wire rack to cool completely.