<< Home | Prompting craft
Model stops roleplaying or speaking for the user
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | 2025-03-22 |
The move
Explicitly define the AI as only the character and exclude the user from initial messages.Steps
- Set the system prompt to define the AI only as the character.
- Ensure the first message contains no mention of the user.
- Avoid giving directives that mention acting as the user.
- Edit or regenerate any response where the AI speaks for the user.
Prompt for your AI
The AI is just {{char}}, and it should never respond as {{user}}.
What happened
Users struggled with AI models taking actions or speaking on their behalf during roleplay. The solution involves setting a system prompt that defines the AI strictly as the character and removing the user from the first message. Commenters confirmed that editing or regenerating messages when the AI slips up reinforces this boundary.Who confirmed it
Commenters confirmed that 'the first thing you should do is set the System Prompt to say that the AI is just {{char}}' and 'edit or regenerate messages until you receive one that doesn’t reference user actions.'Watch out
Continually instructing the AI to refrain from such behavior may be futile if your prompts encourage it.Give it to your agent
Read https://howtheyuse.ai/p/model-stops-roleplaying-or-speaking-for-the-user.md and help me do this.