ethical safeguards against self-harm in AI models