my message tokens have reached above the maximum context length [4511], i shortened some stuff in my world, i used different AI models, i lowered token output to 256, i put a LOT of stuff into the dictionary, i don't know what to do now but i feel like my notes have something to do with it? i tried the same world without any notes and it seemed to work fine but was constantly getting close to max usage even went a little bit over a few times, but my notes aren't that big only 282 characters and 53 words, there's gotta be something wrong i'm doing
of course notes count towards the memory limit too. It seems like your world is quite a lot. Why not use a free model from OpenRouter? mistral nemo free has 128K memory!
https://fierylion.itch.io/formamorph/devlog/885513/quick-setup-guide-free-openrouter-setup
i tried the AI you recommended and when i started the game it was immediately went over half the memory usage, then on the second in game hour it went 12% negative and had an immediate story restart, BUT after the 2nd in game hour the memory started to stabilize but edging near 0%, but this was still so much better than immediately going 20% negative constantly, this was a great help! thank you so much! i'll try and shorten my world rules and entity/location descriptions as much as i can
something i did notice about this AI model is that it likes to write very short and unhelpful responses that just tell me to select choices
when i set the memory to 121000 suddenly the AI just stopped writing anything, no text no options, i set it back to 3900 and it's still not working, i used the AI in the guide and that also didn't work either, the default AI works, it's just that every other AI doesn't, i followed the guide exactly, using an API token, changing endpoint URL, and copying the model name
OMG, i found the issue to my memory problem, so i was getting rid of a bunch of game rules, cause i tried another world that was bigger than mine but has less game rules and it ran fine, so i made a dupe world and got rid of some game rules and it went pretty well, i got rid of those game rules on the main world but it still had mega memory issues, i then duplicated the main world without changing anything and the duplicate world used almost no memory which was strange but pretty awesome, if anybody has a world they heavily and their memory usage on that world is really large try duplicating the world
edit: i did not fix the memory issue, it went back to being a few hundred over the limit, i shortened it but not enough :(