Stellaris debug_yesmen Command
This command will make all AI empires accept player proposals.
Win Wars Cheat
This command forces the AI to agree to any deals you propose, meaning after enabling it, if you propose a peace deal, it will automatically be accepted by the empire you are at war with.
This is the only way this command can be executed.