How can legislation pass without the public knowing what is in it before it passes?
From what I understand, it's not passed yet. They've just reached a deal on the amendments that need to be added so it will be passed.
We do not know what amendments have been passed, as Germany and other countries were lobbying for more relaxed regulation after every AI company in the EU called them and told them the regulation was going to make them uncompetitive.