feat 思维流大核+小核

This commit is contained in:
SengokuCola
2025-03-24 18:36:03 +08:00
parent 6da66e74f6
commit 6c9b04c1be
12 changed files with 185 additions and 205 deletions

View File

@@ -20,6 +20,7 @@ from .storage import MessageStorage
from src.common.logger import get_module_logger
# from src.think_flow_demo.current_mind import subheartflow
from src.think_flow_demo.outer_world import outer_world
from src.think_flow_demo.heartflow import subheartflow_manager
logger = get_module_logger("chat_init")
@@ -70,6 +71,10 @@ async def start_background_tasks():
# 启动大脑和外部世界
await start_think_flow()
# 启动心流系统
heartflow_task = asyncio.create_task(subheartflow_manager.heartflow_start_working())
logger.success("心流系统启动成功")
# 只启动表情包管理任务
asyncio.create_task(emoji_manager.start_periodic_check(interval_MINS=global_config.EMOJI_CHECK_INTERVAL))