Fred VanVleet isn't ready to leave Toronto yet. 

The point guard has agreed to terms on a two-year deal worth $18 million, according to Yahoo Sports, citing unidentified league sources. VanVleet and his agent met in Chicago and finalized an agreement Sunday morning. His contract will take him through the 2019-20 season. 

VanVleet went undrafted in 2016, but later joined the Raptors. He's coming off a strong second season in the NBA, averaging 8.6 points while shooting 42 percent from the field. He played in 76 of the 82 games, although he didn't have any starts.

VanVleet dealt with a strained right shoulder late in the season and was forced to miss some of the playoffs. 

He was a finalist for the NBA’s Sixth Man of the Year award last season.