fix print
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-05-28 17:44:49 +08:00
1 parent 6769ed6a6d
commit f246febe87
1 file changed
+2 -2
+2 -2
View File
@@ -41,7 +41,7 @@ def process_message_callback(
mentions_data = message_data.get("mentions")
if "官方应用指令" not in [mention.get("name") for mention in mentions_data]:
if "官方应用指令" not in [mention.get("name") for mention in mentions_data]:
# 忽略@官方应用指令的消息
lark.logger.info("忽略非@官方应用的消息")
return
@@ -77,7 +77,7 @@ def process_message_callback(
record["问题概述"] = content_text
record["创建人"] = [{"id": sender_id}]
history_message_data = get_messages(client, message_id, images, cache_dir)
history_message_data = get_messages(client, "thread", thread_id, cache_dir)
lark.logger.info(f"history_message_data: {history_message_data}")
for image in images: