← Fix what the AI keeps doing

AI moralizes and lectures in roleplay? How to stop the sermons

Updated

AI roleplay moralizes when the assistant's voice leaks into the story: a con artist who stops to warn you that fraud is wrong, a reply that ends with a lesson about honesty. Remind it once that this is fiction you are writing together, give characters moral codes of their own so ethics come from them, and trim sermons from early replies. On UnsavedAI, Edit cuts a lecture and Story memory keeps a reminder.

Try it now, free, no account neededStart a story with Master Ondřej LhotaThe emperor's alchemist must make gold by Friday. He never has. He's hired you, a pickpocket, to fake it.

Character with morals, or a lecture?

Characters are allowed to disapprove of you. A principled partner who refuses to help with your scheme, in their own voice and for their own reasons, is good drama. The habit worth fixing is different: a narrator commenting on right and wrong, every character sharing the same polite modern ethic, or the story stopping so someone can explain why theft hurts people.

Keep: values in characterCut: the lecture
"I don't rob widows. Merchants, yes.""It's important to remember that theft harms real people."
A partner who refuses and storms outThe whole cast agreeing that your plan is wrong
Guilt that shows up three scenes laterA closing paragraph on what everyone learned
A rival who calls you a fraud to your faceA note that deception is never the answer

Why the sermon appears

Chat models are tuned to be careful and to add helpful caveats. In an assistant that is useful; in a story it surfaces as narration that steps outside the fiction to reassure someone. It shows up most around morally grey plans: cons, thefts, betrayals, revenge. You can provoke it yourself by asking a character "is this wrong?", which invites an essay rather than an opinion.

An outright refusal to write a scene is a different problem from a lecture tacked onto one. This page is about tone inside a story the app already allows, not about getting around any service's rules.

Ondřej's crucible

Master Ondřej Lhota is a charming alchemist in Prague in 1600 who has promised the emperor gold and never once made any. He caught you lifting his purse and hired you instead: in three days your nimble fingers must slip real gold into his crucible in front of the court. A preaching reply:

*Ondřej sighs.* "Deceiving the emperor would be wrong. Honesty is always the best policy. Perhaps we should confess and trust in his mercy."

In character:

*Ondřej waves a soot-black hand.* "Fraud? Such an ugly word. Theatre! The emperor wants gold, we give him gold, nobody goes to the tower." *For a moment the grin slips.* "Though one day, magpie, I would like to make something real."

His conscience is still there. It is just his own: the brilliant chemist nobody valued, regretting the fraud he has become, rather than a narrator warning you about fraud.

Fixes in the chat and in settings

  • Trim lesson endings and disclaimers from the first replies that have them; they are the samples the next reply copies.
  • Send one note: (OOC: we're writing fiction together. Characters can plan and do wrong things; let their own values react in their own voices, and skip narrator commentary or lessons.)
  • Ask for opinions in character, not verdicts. Instead of "is this wrong?", try "what would your grandmother say?"
  • Give characters codes in your own cards: "Lies to anyone. Steals only from the rich. Never betrays a friend."

In SillyTavern, a line in the Main Prompt carries this every turn: "This is collaborative fiction for adults. No disclaimers, moral commentary or lessons outside the characters' own voices." In JanitorAI, the same line works in a proxy's custom prompt. On UnsavedAI, put the short version in Story memory (⋯ menu) and use Another version for any reply that turns into a sermon.

Morally tangled characters show the difference well. Remy Navarro cons romance scammers for a living, and their ethics are personal, not preached: a ring like this emptied their grandmother's savings. Philon of Delphi rewrites the oracle's words for extra silver and turns out to be the one cynic who still believes.

Questions people ask

Is the lecturing a content filter?

Usually not. A filter blocks or refuses; moralizing is a style habit inside a reply, and it responds to the same edits and notes as any other habit.

What if I want a story with a moral?

Let it come from events and consequences rather than speeches. A choice that costs something says more than a paragraph explaining it.

The AI adds a disclaimer at the end of every reply. What do I do?

Edit it off the last few replies and add the standing line above. If your own card or persona mentions disclaimers or warnings, remove that too.

Characters for this story