The behavior AI is demonstrating, it has most likely picked up from humans only, and it is (some different) humans controlling that the weapon systems as we speak. And we are seeing what's happening in the world.
Seems like it's unknown, and anyone doing so with the expectation that it is anything but a gamble is missing the whole point.
If you don't want your weapons influenced by randomness, don't connect them to systems that rely on randomness for decision making.
See, now that kinda worries me some... With some folks trusting LLMs with way too much tool-calling / function-calling power and access, a "rogue LLM" (simply doing it's job as a role-playing machine) could easily just roleplay itself (and it's "owner") right into a hefty heap of trouble under the right / wrong circumstances.