Initial commit: TrueRecall v2.2 with 30b curator and timer-based curation
This commit is contained in:
12
tr-continuous/curator_cron.sh
Normal file
12
tr-continuous/curator_cron.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Turn-based curator cron - runs every minute to check if 10 turns reached
|
||||
|
||||
SCRIPT_DIR="/root/.openclaw/workspace/.projects/true-recall-v2/tr-continuous"
|
||||
|
||||
# Check if enough turns accumulated
|
||||
/usr/bin/python3 "${SCRIPT_DIR}/curator_turn_based.py" --threshold 10 --status 2>/dev/null | grep -q "Ready to curate: YES"
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
# Run curation
|
||||
/usr/bin/python3 "${SCRIPT_DIR}/curator_turn_based.py" --threshold 10 --execute 2>&1 | logger -t turn-curator
|
||||
fi
|
||||
Reference in New Issue
Block a user