Restore source files from Google Drive backup
This commit is contained in:
1 parent
7635a8529f
commit
0ca8c65c9e
5 files changed
+477
No files matched your search
@@ -102,6 +102,10 @@ def main(compressed: bool = False) -> int:
|
||||
if not server.server_up(): # recover if a prior agent left oMLX unresponsive
|
||||
logger.warning("oMLX unreachable before {}; recovering...", persona.id)
|
||||
server.ensure_ready(warm=False)
|
||||
# Fresh KV store per agent: the previous persona's SSD/hot cache blocks share no
|
||||
# prefix with this one, so they'd only pile up on the SSD (and pin RAM) until the
|
||||
# disk fills or the prefill memory guard trips. Clear at the boundary, not mid-agent.
|
||||
server.clear_kv_cache()
|
||||
lessons = lessons_for(persona.id) # self-learning: past picks marked to market
|
||||
records[persona.id] = lessons
|
||||
blurb = "\n\n".join(x for x in (regime, lessons) if x)
|
||||
|
||||
Reference in new issue
Block a user