fix: batch_process missing raw_dir arg causing L4 archive to fail
This commit is contained in:
@@ -64,7 +64,8 @@ def check():
|
|||||||
try:
|
try:
|
||||||
import sys; sys.path.insert(0, os.path.join(_dir, '../memory/L4_raw_sessions'))
|
import sys; sys.path.insert(0, os.path.join(_dir, '../memory/L4_raw_sessions'))
|
||||||
from compress_session import batch_process
|
from compress_session import batch_process
|
||||||
r = batch_process(dry_run=False)
|
raw_dir = os.path.join(_dir, '../temp/model_responses')
|
||||||
|
r = batch_process(raw_dir, dry_run=False)
|
||||||
print(f'[L4 cron] {r}')
|
print(f'[L4 cron] {r}')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
_logger.error(f'L4 archive failed: {e}')
|
_logger.error(f'L4 archive failed: {e}')
|
||||||
|
|||||||
Reference in New Issue
Block a user