BUG: SESSIONS_DIR hardcoded, cannot customize path #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
SESSIONS_DIRis hardcoded to/root/.openclaw/agents/main/sessions.Users cannot customize the sessions directory without modifying source code.
Impact
Root Cause
Hardcoded path in
realtime_qdrant_watcher.py:Solution
Changed to read from environment variable with fallback:
Fix Version
v1.1 - Commit
a053ec1Usage
Set environment variable before running watcher:
FIX IMPLEMENTED AND PUSHED ✅
Commit:
a053ec1- fix: SESSIONS_DIR env var and config dimension docsDetailed Fix Steps:
Code Change
In
watcher/realtime_qdrant_watcher.py:Before:
After:
Usage
Validation
Closing as fixed in v1.1