See, this is why you shouldnt ask ChatGPT questions like this, because it gives plausible-sounding answers that are in fact nonsense. There is no international law broken by providing conventional arms to Ukraine. None at all.