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

@@ -78,7 +78,7 @@ class StatementRepository(BaseNeo4jRepository[StatementNode]):
# 处理 ACT-R 属性 - 确保字段存在且有默认值
n['importance_score'] = n.get('importance_score', 0.5)
n['activation_value'] = n.get('activation_value')
n['access_history'] = n.get('access_history', [])
n['access_history'] = n.get('access_history') or []
n['last_access_time'] = n.get('last_access_time')
n['access_count'] = n.get('access_count', 0)