How to prevent breaking the agent conversation in a NPC?

That happens sometimes, but we can fix it with a well written and clear system message.

Here’s an example using a NPC description I found on the web.

We simply don’t respond to out of character messages.

2 Likes