lethe-agent-memory / start.sh
9mark9's picture
Re-weight recall ranking and switch embedder to all-MiniLM-L6-v2
2a13a61 verified
Raw History Blame Contribute Delete
383 Bytes
#!/bin/sh
# The admin token only lets app.py set the starting ranking weights; it is random per start and never shown.
export LETHE_ADMIN_TOKEN="$(python -c 'import secrets; print(secrets.token_hex(16))')"
# In-memory journal (empty path) and a memory cap keep the public demo bounded.
LETHE_TOKEN=demo lethed -addr 127.0.0.1:8787 -journal "" -max-memories 2000 &
exec python app.py