diff --git a/src/plugins/heartFC_chat/heartFC_chat.py b/src/plugins/heartFC_chat/heartFC_chat.py index 769a35b6..ebfed17d 100644 --- a/src/plugins/heartFC_chat/heartFC_chat.py +++ b/src/plugins/heartFC_chat/heartFC_chat.py @@ -750,7 +750,7 @@ class HeartFChatting: except Exception as e: logger.error(f"Error getting person names: {e}", exc_info=True) names_data = {} # 出错时置空 - + print(f"\n\nnames_data:\n{names_data}\n\n") for user_id in user_ids_in_history: if user_id in names_data: diff --git a/src/plugins/heartFC_chat/heartflow_prompt_builder.py b/src/plugins/heartFC_chat/heartflow_prompt_builder.py index 3ba78063..290a5e35 100644 --- a/src/plugins/heartFC_chat/heartflow_prompt_builder.py +++ b/src/plugins/heartFC_chat/heartflow_prompt_builder.py @@ -440,7 +440,6 @@ class PromptBuilder: user_ids_in_context = set() if message_list_before_now: for msg in message_list_before_now: - print(msg) sender_id = msg["user_info"].get('user_id') if sender_id: user_ids_in_context.add(str(sender_id))