I'm using a Gemini 3.1 pro model to write some stories, and I got a problem. When I got to a certain count of messages, the whole memory of chat just collapses. And I'm not talking about "oh, it forgot the first message", no, I'm talking about forgetting the full chat history. I'm using project, because it's a way I'm sure it won't forget about character info, but it would be a too long custom instructions if I put a summary of chat here(my character descriptions are pretty detailed). Here are some more details, because maybe I'm not understanding how it works. The custom instructions is 9503 tokens long. The chat history after which it totally forgots where were we is 95309 tokens. I know it's a lot, and as I said, I'm okay with losing some first messages from memory, but not the entire chat.