api typing check

This commit is contained in:
UnCLASPrommer
2025-07-15 19:09:04 +08:00
parent 2fab069dca
commit 80a1c0bf93
8 changed files with 144 additions and 26 deletions

View File

@@ -182,6 +182,7 @@ class DefaultReplyer:
回复器 (Replier): 核心逻辑,负责生成回复文本。
(已整合原 HeartFCGenerator 的功能)
"""
prompt = None
if available_actions is None:
available_actions = {}
if reply_data is None:
@@ -707,6 +708,7 @@ class DefaultReplyer:
)
target_user_id = ""
person_id = ""
if sender:
# 根据sender通过person_info_manager反向查找person_id再获取user_id
person_id = person_info_manager.get_person_id_by_person_name(sender)

View File

@@ -76,7 +76,7 @@ def get_raw_msg_by_timestamp_with_chat_users(
chat_id: str,
timestamp_start: float,
timestamp_end: float,
person_ids: list,
person_ids: List[str],
limit: int = 0,
limit_mode: str = "latest",
) -> List[Dict[str, Any]]: