Merge branch 'dev' into dev

This commit is contained in:
SengokuCola
2025-04-09 20:45:24 +08:00
committed by GitHub
10 changed files with 355 additions and 87 deletions

View File

@@ -207,7 +207,7 @@ class Heartflow:
logger.error(f"创建 subheartflow 失败: {e}")
return None
def get_subheartflow(self, observe_chat_id):
def get_subheartflow(self, observe_chat_id) -> SubHeartflow:
"""获取指定ID的SubHeartflow实例"""
return self._subheartflows.get(observe_chat_id)