I agree. The worst part about GitHub training LLM's on my FOSS code without permission for me is that they then keep the models to themselves. Like if you're going to use all my code without permission, at least allow me to run the model locally.
My personal opinion is that all models trained on copyleft code should be open-weights, most FOSS licenses didn't account for this specific possibility, but this is the only way to follow them in spirit.