I think you trade him only if you can get two high level pitching prospects in A+ or AA. They have so many SP candidates, which is great as you can never have too many. But at the end of the day, if they cannot extend Freddy, you focus on what gives you the best chance from 2027-2032, that seems to be the real WS window. They overachieved this year, and might again next year. But if you’re trying to maximize a chance at WS, you trade him. See what you have in Gasser, Priester, Myers, Ashby, Hall, Henderson, Patrick, Miz as starters and decide who you’re rolling with moving forward.
If they cannot get two high level prospects, you keep him. The comp pick would be one, so no point in trading him for just one. Don’t get a good enough deal, see if you do at the deadline or just keep him.