Honesty is the best policy... and being polite about it will help get that letter of recommendation.

Simply choose a good time to talk and explain that while you appreciate (and like) the job,...