That is exactly what GH Copilot does - if you're subscribed to it, it adds an AI conversation button to any Github repo you visit in the browser. There's no need to clone the repo. However it's not free obviously...
Correct me if I'm wrong, but wouldn't that burden fall on the users of this product? If that end user uses the output in a new project.
I suppose OP likely has a responsibility to post a link to the license whenever chatting with that repo- but I don't believe his product would require special licensing itself- right?
You could add an option for the user to paste a token (fine grained etc) to retrieve only from repositories they grant via the token (and never write access)- and they can revoke at any time.
https://docs.github.com/en/copilot/about-github-copilot/subs...
I suppose OP likely has a responsibility to post a link to the license whenever chatting with that repo- but I don't believe his product would require special licensing itself- right?
Needs to be this way or no access to private repos. I can add the possibility to choose if people have a problem with the permissions