feat:合并memory配置,优化webui交互和展示
This commit is contained in:
@@ -157,15 +157,6 @@ class MainSystem:
|
||||
logger.info(t("startup.schedule_cancelled"))
|
||||
raise
|
||||
|
||||
# async def forget_memory_task(self):
|
||||
# """记忆遗忘任务"""
|
||||
# while True:
|
||||
# await asyncio.sleep(global_config.memory.forget_memory_interval)
|
||||
# logger.info("[记忆遗忘] 开始遗忘记忆...")
|
||||
# await self.hippocampus_manager.forget_memory(percentage=global_config.memory.memory_forget_percentage) # type: ignore
|
||||
# logger.info("[记忆遗忘] 记忆遗忘完成")
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
"""主函数"""
|
||||
system = MainSystem()
|
||||
|
||||
Reference in New Issue
Block a user