fix:为focus添加超时保护

This commit is contained in:
SengokuCola
2025-06-21 17:27:36 +08:00
parent 9bbc48ecd3
commit 2f25ed1d96
5 changed files with 70 additions and 14 deletions

View File

@@ -88,6 +88,7 @@ class ExpressionLearner:
current_chat_type = "group"
typed_chat_id = f"{platform}:{chat_stream.group_info.group_id}:{current_chat_type}"
else:
current_chat_type = "private"
typed_chat_id = f"{platform}:{chat_stream.user_info.user_id}:{current_chat_type}"
logger.info(f"正在为 {typed_chat_id} 查找互通组...")