Fix/memory bug fix (#150)

* 图谱数据量限制数量去掉

* 图谱数据量限制数量去掉

* 图谱数据量限制数量去掉

* 用户详情优化

* 用户详情优化

* 用户详情优化

* 用户详情优化

* 用户详情优化

* 用户详情优化

* 读取的接口,去掉全局锁

* 输出数组

* 反思优化1.0(优化隐私输出、时间检索)

* 反思优化1.0(优化隐私输出、时间检索)

* 反思优化1.0(优化隐私输出、时间检索)
This commit is contained in:
lixinyue11
2026-01-20 10:39:12 +08:00
committed by GitHub
parent 642587fc97
commit e518b57dea
9 changed files with 173 additions and 170 deletions

View File

@@ -120,10 +120,12 @@ class WorkspaceAppService:
def _get_data_config(self, memory_content: str) -> Dict[str, Any]:
"""Retrieve data_comfig information based on memory_comtent"""
try:
data_config_query, data_config_params = DataConfigRepository.build_select_reflection(memory_content)
data_config_result = self.db.execute(text(data_config_query), data_config_params).fetchone()
if data_config_result is None:
return None
data_config_result = DataConfigRepository.query_reflection_config_by_id(self.db, int(memory_content))
# data_config_query, data_config_params = DataConfigRepository.build_select_reflection(memory_content)
# data_config_result = self.db.execute(text(data_config_query), data_config_params).fetchone()
# if data_config_result is None:
# return None
if data_config_result:
return {