The Thai Constitutional Court has ruled on Friday, September 30th, that the prime minister's term of General Prayut Chan-O'Cha has not yet reached its term limit, based on the current constitution that was put into effect in 2017.
https://tpnnational.com/2022/09/30/prayuts-term-as-prime-minister-does-not-exceed-8-year-limit-yet-thai-constitutional-court-rules-on-friday/