The GitHub Co-pilot provide code as a service. As far as I know they use code from public repos of GitHub as suggestions to the developers. How they deal with different licenses on public repos and how consumers of these services are not bound by those licenses. I used co-pilot as a free trial once and it don’t give license info along with the code. If they don’t need license to distribute the code why did individual developers are bound to do so under the license terms. These words are on GitHub Copilot webpage:
Trained on billions of lines of code, GitHub Copilot turns natural language prompts into coding suggestions across dozens of languages.
I am curious to know from the experts about the legal as well as moral implications of this services.