feat 尝试将回复意愿加入思维流

This commit is contained in:
SengokuCola
2025-03-24 23:22:03 +08:00
parent 6c9b04c1be
commit 5dea0c3a16
5 changed files with 44 additions and 11 deletions

View File

@@ -95,7 +95,8 @@ class Heartflow:
if observe_chat_id not in self._subheartflows:
subheartflow = SubHeartflow()
subheartflow.assign_observe(observe_chat_id)
subheartflow.subheartflow_start_working()
# 创建异步任务
asyncio.create_task(subheartflow.subheartflow_start_working())
self._subheartflows[observe_chat_id] = subheartflow
return self._subheartflows[observe_chat_id]