Add persisted LLM audit logging
This commit is contained in:
@ -42,6 +42,11 @@ def get_data_path() -> Path:
|
||||
return ensure_dir(Path.home() / ".nanobot")
|
||||
|
||||
|
||||
def get_logs_path() -> Path:
|
||||
"""获取后端日志目录(~/.nanobot/logs)。"""
|
||||
return ensure_dir(get_data_path() / "logs")
|
||||
|
||||
|
||||
def get_legacy_cron_store_path() -> Path:
|
||||
"""获取旧版全局 cron store 路径(~/.nanobot/cron/jobs.json)。"""
|
||||
return get_data_path() / "cron" / "jobs.json"
|
||||
|
||||
Reference in New Issue
Block a user