OpenAI have been careful to ensure that ChatGPT is able to detect when it is being asked to generate material which might infringe copyright.
The same care could equally have been taken to avoid triggering or exacerbating adverse mental health conditions.
The fact that they've not done this speaks volumes about their priorities.