Why does the AI forget or mix things up?
About the AI
The AI can only look back so far in your adventure history. That limit is called context when it is passed into the model. The context limit is different for each membership tier, but the standard limit is around 4000 tokens for free players, which is only a few thousand characters.
When information falls out of context, the AI loses the ability to reference those details, so it is often just making things up as best it can.
The best way to help the AI remember the details you need is to use Plot Essentials and enter important information such as your protagonist details and immediate world events. That information is guaranteed to remain in context.
You can also turn on the Memory System in your gameplay settings. It is designed to keep track of your story history and automatically adds important events to context, which makes it easier for the AI to know what is going on.
However, because AI can be fickle and context is limited, this is not guaranteed to work 100 percent of the time. If the AI forgets important character details, your best options are to Retry, rewrite your Plot Essentials to be more specific, or use Edit mode to correct the mistake.