We got him for two more years, assuming he's not having TJ surgery. Current info is he will pitch again this season.
I assume Bergolla has exceeded his valuation at the time of the trade fo sure, but it was also a trade that happened in tandem with the Soto trade. So in a way they really traded Soto for Banks on the major league team, and Bergolla for Chaice and Johnson at the prospect level.
Soto also would have been worth keeping if not for the fact that he wasn't happy with his role. And we certainly didn't want to see him in a bigger one at the time. He's been solid the last two seasons with low expectations, failed during his time with the Mets.