Presumably OpenAI would be committing copyright infringement by even displaying that code to you, if it does not have a license to do so.
Might get out of it depending on specifics but you'd be a party.
OTOH, I -thought?- that part of at least enterprise Copilot was that they would defend in such cases.
Presumably OpenAI would be committing copyright infringement by even displaying that code to you, if it does not have a license to do so.