Recommendation letter for a short time collaboration
If your contract is only a year long, your mentor is likely expecting you to be applying for jobs very soon. I don't think they would be surprised; in fact, they should encourage you. I would not hesitate in asking for a reference.