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

@@ -72,7 +72,6 @@ class Heartflow:
update_interval=STATE_UPDATE_INTERVAL_SECONDS,
cleanup_interval=CLEANUP_INTERVAL_SECONDS,
log_interval=3, # Example: Using value directly, ideally get from config
inactive_threshold=INACTIVE_THRESHOLD_SECONDS,
)
async def get_or_create_subheartflow(self, subheartflow_id: Any) -> Optional["SubHeartflow"]: