From 7c1fbbcf5b119fb15397af58f3a9e7fbf499269c Mon Sep 17 00:00:00 2001 From: david Date: Sun, 18 Oct 2026 05:05:53 -0300 Subject: [PATCH] this is nothing --- bot.py | 2 +- todo.txt | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index c726fce..a1ecece 100644 --- a/bot.py +++ b/bot.py @@ -122,7 +122,7 @@ def log_message(text: str, file: Path = MEMORY_FILE): def load_shortterm(file: Path = MEMORY_FILE) -> list[str]: try: - return tail_lines(file, 15) # reads bottom 15 lines without loading the whole file + return tail_lines(file, 67) # reads bottom 15 lines without loading the whole file except Exception as e: log_error(f"[{now_str()}] error reading shortterm: {e}") return [] diff --git a/todo.txt b/todo.txt index af83b46..6ba480b 100644 --- a/todo.txt +++ b/todo.txt @@ -1,5 +1,11 @@ add custom messages for errors that are configurable through json. -in the future migrate all config files from txt to json. -maaaaybe consider memory as json +bot game mode, it switches from llm generated responses to prewritten messages for games such as hangedman or guess the number (number from 0 100, bot replies with lower or higher) + +add a little 'notebook' for the bot, where she can store small notes about the current context and other stuff related to the current conversation. only she sees it and the bot should manage it (delete, add, decide whether store or delete it.) it shouldn't be long notes about users so realistically nothing should be left between 'conversations' so it takes the timestampt into account, and maybe what users are talking currently +in the future migrate all config files from txt to json. + +#don't just yet +maaaaybe consider memory as json +user databases (short facts) only for active users