Presumably you are licensing your code as MIT or a similar license.
Not all code is licensed that way. Some open-source code had strings attached, but AI launders the code and makes them moot.
No one cares. Copyright in general is done, and we are all stronger now. Don't fight AI, fight for open models.
If you want to attach strings which involve restricting access, open source is not the way to go.