As I have explained multiple times: to the extent any choice is not fully determined by past events and current state,
Well at least you acknowledge that there is a current state which has influence.
So let us expand a bit on what comprises current, or present state.
Our conscious awareness at any moment is in what must be acknowledged as the present state. There will also be memories perceived within our conscious awareness, but these will be consciously recognised as memories within this present state. And the present state of awareness will involve both sensory data and conscious thought in addition to memories.
But we must recognise that awareness of data is not the data itself, but a representation of this data within the entity of conscious awareness which comprises you and me.
So we have this entity of awareness existing in the present state which perceives current sensory data, thought and memories, from which it can invoke a consciously driven choice which will be influenced by this perception, but not driven by it. All done in the present state. And nothing random about it.