more likely he won't be a part of the long term plans, given his ceiling. I don't think you should cement your long term 6th man before you even have a number 1 option.
Given that set of circumstances, I think it's better to trade him while he has decent value than lose him in free agency, or sign him to a long term deal.