Determinism and free will are pretty irrelevant here.
Unless P=NP, there's no way for us to distinguish in general between eg pseudo random systems and truly random systems from the outside.
Btw, I don't think determinism in humans/AI has anything to do with deliberation.
The newest AI models are allowed to deliberate. At least by some meanings of the word.
> This is justified by the fact that our concept of freedom means a decision that is self-determined by reasons and not a sequence of events determined by chance.
Well, different people have different definitions here. None of them very satisfying.