The Knicks have lost point-guard prospect Chasson Randle, who was playing on their D-League team in Westchester, to the 76ers.

As first reported by The Post, Randle staged a workout in Philly on Sunday, and he has agreed to terms on a 10-day contract that he will sign Tuesday, according to an NBA source. Randle could be in uniform when the Knicks visit the Wells Fargo Center on Wednesday for their first game against the Sixers.

Randle averaged 20.7 points and shot 40.2 percent from the 3-point stripe in Westchester. The Stanford product was sensational in summer league then was cut in training camp after suffering a fractured orbital bone. He agreed to play in Westchester with the idea he could get called up in January if the Knicks opened a roster spot by declining to guarantee combo guard Ron Baker’s contract. Randle was attractive because he played the triangle offense at Stanford before going undrafted in 2015 and playing one season in the Czech Republic.

But Baker’s contract became guaranteed for the season Saturday, one day after his heroics in the fourth quarter in Milwaukee helped snap the Knicks’ six-game losing streak.

Baker led another fourth-quarter comeback in garbage time Saturday in Indianapolis — it fell short — and has risen in coach Jeff Hornacek’s eyes as a potential spot player in the point-guard rotation. Hence, the need for Randle decreased, and the Knicks didn’t make a move when the Sixers summoned him for Sunday’s workout. The Post first reported Philly’s interest last month.

According to a source, the Knicks still are committed to developing rookie forward Maurice Ndour and former Duke center Marshall Plumlee, who have played six games apiece for the D-League team. Neither has been in the rotation this season despite being on the 15-man roster.

Veteran guard Sasha Vujacic was the other candidate to be cut by the Knicks to open a roster spot for Randle. But the Knicks believe he’s a steady influence on their trio of young European players: Kristaps Porzingis, Willy Hernangomez and Mindaugas Kuzminskas.