Your AI should not be in a position to submit a resignation email or send a text to your partner asking for a divorce.
Edit: the costs were through the roof at the time so I discontinued use rather than using some hacky workaround. I ran it in a docker container on an undraid server with nothing else running on the server. I also tested it in ubuntu server.