Carmelo Anthony chose not to go to Las Vegas to catch a Knicks summer league game or attend the Players Awards or union meetings, but he will be descending on Sin City next month for the red, white and blue.

According to a source, Anthony has informed US Olympic Team officials he will attend the Aug. 11-13 minicamp as the team gears up for the 2016 Summer Games in Rio de Janeiro.

Anthony is still rehabbing from February’s left-knee surgery, so he will not be a fully active participant, according to a source. Team USA CEO Jerry Colangelo has encouraged roster members to come to the minicamp even if they can’t play due to injury.

Following surgery to repair his torn patellar tendon, Anthony was deemed out four-to-six months, meaning he’s on the very early fringes of his return. He is back on the court doing some basketball activities such as shooting and probably would participate similarly in Vegas.

Team USA will hold practices Aug. 11 and 12 in Vegas and participate in a Blue-White intrasquad scrimmage Aug. 13. Colangelo is selecting the Olympic Team from a roster of roughly 34 players and Team USA has yet to announce who will attend the minicamp.

Anthony has not been definitive on his desire to play for the team, but his Vegas appearance would demonstrate his commitment. He played for the disappointing bronze-medal 2004 squad and won gold in 2008 and 2012. Anthony, who hasn’t made any of the three All-NBA teams the past two seasons, is not a shoo-in for the squad but is considered the prototype international player because of his ability to play all three frontcourt positions.

Anthony’s thinking on the Knicks’ recent additions still remains at issue. He has refuted reports he was unhappy with the Kristaps Porzingis pick. However, The Post has reported he was disappointed his buddy Tim Hardaway Jr. was traded on draft night for Jerian Grant, a player Anthony barely had seen play.

President Phil Jackson’s remark during summer league he hadn’t spoken recently to Anthony also sparked speculation Anthony is out of the free-agent loop. However, The Post reported general manager Steve Mills gave the team’s highest-paid player the blow-by-blow on the team’s modest moves and Anthony is bothered he’s been branded a summer malcontent.