"), but to infer the reason why the narrator is sharing this story (i.e., "To get advice on how to stay alert in the next few hours.").
we are not concerned with the intradiegetic aspects of the narrative, but with the extradiegetic intention of the narrator in sharing the story.