Applying for a PhD before or after finishing master's
As you already noticed, almost everyone applies during the last year of their master's. No one wants you to feel compelled to take a gap year between your master's and PhD. Since almost everyone is in the same boat as you, they will have a similar level of recommendations. This is expected! Your thesis supervisor should still be able to say some nice things about your research aptitude and potential. Apply now!