From all the news we have seen so far, it can be assumed that Guardiola is not interested in extending his contract with Manchester City. This is probably going to be Guardiola's last season with Manchester City. Guardiola is now interested in becoming a national team coach. But we do not know if this team is Brazil yet. I have not seen any rumors about this. However, City is in very bad form now. They have lost four matches in a row. However, I am waiting to see if Manchester City's performance improves after the international break. City's squad is strong, Guardiola is also a very experienced coach. So it is hoped that City's performance will stabilize in the coming matches.
I haven't seen Guardiola mention anything about wanting to leave City at the end of this season, he's only said that he hasn't thought about it yet because he has a lot more important things to do now and he'll make a decision on extending his contract at the end of the season. I think he's spent a lot of time at City and just leaving the team after so many years would be a tough decision and I hope he stays at City, I don't know who could replace him.