I'm writing a sci fi story.
I'm using Google products exclusively.
This also happens to me to some degree.
I recommend Google Gemini paired with Google Notebook LM.
The Notebook LM is my story's encyclopedia.
Gemini provides an agent for discussion within the story.
When Gemini falters, I create a new agent and give it a lore bible plus any extra information I am using.