feat:把CHAT状态判断交给LLM

This commit is contained in:
SengokuCola
2025-04-26 15:23:16 +08:00
parent 0e03c2e492
commit 3ddd55e387
8 changed files with 218 additions and 92 deletions

View File

@@ -58,7 +58,7 @@ class InterestLogger:
return results
for subheartflow in all_flows:
if self.subheartflow_manager.get_or_create_subheartflow(subheartflow.subheartflow_id):
if await self.subheartflow_manager.get_or_create_subheartflow(subheartflow.subheartflow_id):
tasks.append(
asyncio.create_task(subheartflow.get_full_state(), name=f"get_state_{subheartflow.subheartflow_id}")
)