Fixed race condition
When the user sent a message, and at the same time the EngagementTicker ticket, it would crash the program, I fixed that by adding a boolean “thinking” inside LlamaClient, if its true, the SendMessage function will return with the string “Error: Race condition”
Fixed save multiline bug
There was a bug that when reloading, it wouldn’t fully recover memories with more than one line, i fixed it by adding the “U:” or “B:” prefix on the beginning of every line on multiline messages
Changed memory system
Previously I was sending every message to the bot, now I am sending only the last 10 messages (by default) + Master prompt on every message
I also tuned the master prompt, it is avaiable on the source code and it’s not defined on the cfg file by default, this new master prompt made the LLM behave more consistently, more in character, and added more personal details
Log in to leave a comment