From 1ed7430987d018a0e224d007714638b0c25d8651 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 Mar 2026 11:56:44 -0600 Subject: [PATCH] fix: update paths and version for openclaw-true-recall-base rename --- config.json | 12 +++++++----- watcher/mem-qdrant-watcher.service | 12 ++++++------ watcher/realtime_qdrant_watcher.py | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/config.json b/config.json index a643e31..9114e95 100644 --- a/config.json +++ b/config.json @@ -1,12 +1,14 @@ { - "version": "1.0", - "description": "TrueRecall Base - Memory capture", + "version": "1.2", + "description": "OpenClaw TrueRecall Base v1.2 - Real-time memory capture with priority-based session detection", "components": ["watcher"], "collections": { "memories": "memories_tr" }, - "qdrant_url": "http://:6333", - "ollama_url": "http://:11434", + "qdrant_url": "http://10.0.0.40:6333", + "ollama_url": "http://localhost:11434", "embedding_model": "snowflake-arctic-embed2", - "user_id": "" + "embedding_dimensions": 1024, + "user_id": "rob", + "notes": "Ensure memories_tr collection is created with size=1024 for snowflake-arctic-embed2" } diff --git a/watcher/mem-qdrant-watcher.service b/watcher/mem-qdrant-watcher.service index a5c566a..2adb653 100644 --- a/watcher/mem-qdrant-watcher.service +++ b/watcher/mem-qdrant-watcher.service @@ -4,14 +4,14 @@ After=network.target [Service] Type=simple -User= -WorkingDirectory=/true-recall-base/watcher -Environment="QDRANT_URL=http://:6333" +User=root +WorkingDirectory=/root/.openclaw/workspace/.local_projects/openclaw-true-recall-base/watcher +Environment="QDRANT_URL=http://10.0.0.40:6333" Environment="QDRANT_COLLECTION=memories_tr" -Environment="OLLAMA_URL=http://:11434" +Environment="OLLAMA_URL=http://localhost:11434" Environment="EMBEDDING_MODEL=snowflake-arctic-embed2" -Environment="USER_ID=" -ExecStart=/usr/bin/python3 /true-recall-base/watcher/realtime_qdrant_watcher.py --daemon +Environment="USER_ID=rob" +ExecStart=/usr/bin/python3 /root/.openclaw/workspace/.local_projects/openclaw-true-recall-base/watcher/realtime_qdrant_watcher.py --daemon Restart=always RestartSec=5 diff --git a/watcher/realtime_qdrant_watcher.py b/watcher/realtime_qdrant_watcher.py index bee8961..e95dd41 100644 --- a/watcher/realtime_qdrant_watcher.py +++ b/watcher/realtime_qdrant_watcher.py @@ -111,7 +111,7 @@ def store_to_qdrant(turn: Dict[str, Any], dry_run: bool = False) -> bool: "turn": turn['turn'], "timestamp": turn.get('timestamp', datetime.now(timezone.utc).isoformat()), "date": datetime.now(timezone.utc).strftime('%Y-%m-%d'), - "source": "true-recall-base", + "source": "openclaw-true-recall-base", "curated": False }