Fix/actr config (#49)

* [fix]Remove the LLM

* [fix]Failed to restore access history record
This commit is contained in:
乐力齐
2026-01-07 16:00:53 +08:00
committed by GitHub
parent c52b360068
commit 5fe8043ff8
4 changed files with 11 additions and 6 deletions

View File

@@ -246,7 +246,7 @@ class AccessHistoryManager:
if not node_data:
return ConsistencyCheckResult.CONSISTENT, None
access_history = node_data.get('access_history', [])
access_history = node_data.get('access_history') or []
last_access_time = node_data.get('last_access_time')
access_count = node_data.get('access_count', 0)
activation_value = node_data.get('activation_value')
@@ -409,7 +409,7 @@ class AccessHistoryManager:
logger.error(f"节点不存在,无法修复: {node_label}[{node_id}]")
return False
access_history = node_data.get('access_history', [])
access_history = node_data.get('access_history') or []
importance_score = node_data.get('importance_score', 0.5)
# 准备修复数据
@@ -530,7 +530,7 @@ class AccessHistoryManager:
Returns:
Dict[str, Any]: 更新数据,包含所有需要更新的字段
"""
access_history = node_data.get('access_history', [])
access_history = node_data.get('access_history') or []
importance_score = node_data.get('importance_score', 0.5)
# 追加新的访问时间