lerim
lerim copied to clipboard
Compiles AI agent traces and truns them into reusable context.
## Problem The extraction prompt includes "only extract what the USER decided, preferred, or learned" but MiniMax-M2.5 doesn't follow this well. It extracts assistant-generated explanations as "learnings." ## Examples From...
## Problem During `run_sync_once()`, the heartbeat background thread (`_heartbeat_loop` in `daemon.py:111`) corrupts the SQLite sessions database (`~/.lerim/index/sessions.sqlite3`). The error occurs consistently across fresh DBs, different journal modes (WAL and DELETE),...
The issue: Lerim has max_tokens=32000 hardcoded, which exceeds OpenAI model limits.