If you don’t disclose it, you can claim copyright even if you have no right to. LLM-generated code is either plagiarism (but lawmakers proved that they don’t care about enforcing copyright on training data which has funny implications) or public domain because machine generation is not creative human work.
https://en.wikipedia.org/wiki/Threshold_of_originality
If you don’t disclose it, you can claim copyright even if you have no right to. LLM-generated code is either plagiarism (but lawmakers proved that they don’t care about enforcing copyright on training data which has funny implications) or public domain because machine generation is not creative human work.
Copyright and patent laws need to die.