They should listen to all offers on Gray, but they should see if anyone tries to blow them out of the water. If not, hold on to him... but if they anticipate Gray will not be a Twin in 2024, then I think it'd be prudent to get something for him instead of only getting the extra draft pick from the QO.
Of course, with the team in contention and the front office needing to prevent a third losing season in a row I don't anticipate they will seriously consider moving him.