oh no, the mod is ruined! lol
I'll look at getting that fixed!
As far as an explanation on Story Memory:
It uses saved scene summaries plus important story facts, rather than relying only on the “liked/loved/hated” memories. Things like promises, revelations, and relationship developments can be carried forward. It doesn’t send the whole playthrough with every response. A local SQLite database helps find recent interactions with the characters in the scene and relevant older events using keyword matching. Only a selection gets added to the AI’s context. That does use extra tokens. The Story Memory section is capped at 18,000 characters, not tokens, and can be shorter depending on what’s relevant. That cap is just for this memory section, not the entire prompt.
Keep in mind, a lot of this is more "proof of concept" than "this is complete". My initial goal was just for inspiration for the main game but I did play a lot with the mods and they, for the most part, did pretty well.
I am going to pushing out a potential update soon to help with memory as there are some things that can be improved upon.