Total or repair?

I have a 2018 f150 lariat. It has almost 100k miles and I got in an accident. I have at least 10k damage in repairs and they've now figured out that the rear frame section is bent and has a cut in it. They said it can be fixed. Total im estimating it's going to be around 15k in repairs, insurance covering it all besides deductible. I'm just debating if I should get it fixed or total it and get a newer truck. Any suggestions?