Idk what to title this😭

Me and my boyfriend broke up last week or maybe two weeks ago I don’t remember. But he has a girlfriend and we agreed to be “best friends”. He still talks to me every night and tells me he loves me.I’m still close with all of his family,I’m even in a group chat with his sister and his brothers girlfriend 🤦🏽‍♀️and we’re all going out Saturday for my birthday then I’m spending the night (gonna be sleeping in his room). Is this bad? Should I cut this off?

I forgot to add this part,but after we broke up we found out that I’m a month pregnant. The girl he is with now is a girl he cheated on me with and she knew we were together. So I don’t really feel bad for still being in contact with him and staying at his house. I know this makes me sound like a bad person🤦🏽‍♀️. I’m only 19 and this is my first serious relationship so I don’t want to leave him alone