From 6a546a7c2bada83178e3a68937bb806e94557113 Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Sat, 4 Oct 2025 21:30:39 +0800 Subject: [PATCH] fix --- src/chat/heart_flow/heartFC_chat.py | 2 +- src/config/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chat/heart_flow/heartFC_chat.py b/src/chat/heart_flow/heartFC_chat.py index 8285e735..dfafa19e 100644 --- a/src/chat/heart_flow/heartFC_chat.py +++ b/src/chat/heart_flow/heartFC_chat.py @@ -194,7 +194,7 @@ class HeartFChatting: question_probability = question_probability * global_config.chat.auto_chat_value - print(f"{self.log_prefix} questioned: {self.questioned},len: {len(global_conflict_tracker.get_questions_by_chat_id(self.stream_id))}") + # print(f"{self.log_prefix} questioned: {self.questioned},len: {len(global_conflict_tracker.get_questions_by_chat_id(self.stream_id))}") if question_probability > 0 and not self.questioned and len(global_conflict_tracker.get_questions_by_chat_id(self.stream_id)) == 0: #长久没有回复,可以试试主动发言,提问概率随着时间增加 logger.info(f"{self.log_prefix} 长久没有回复,可以试试主动发言,概率: {question_probability}") if random.random() < question_probability: # 30%概率主动发言 diff --git a/src/config/config.py b/src/config/config.py index 85d55bff..e49d427d 100644 --- a/src/config/config.py +++ b/src/config/config.py @@ -55,7 +55,7 @@ TEMPLATE_DIR = os.path.join(PROJECT_ROOT, "template") # 考虑到,实际上配置文件中的mai_version是不会自动更新的,所以采用硬编码 # 对该字段的更新,请严格参照语义化版本规范:https://semver.org/lang/zh-CN/ -MMC_VERSION = "0.11.0-snapshot.2" +MMC_VERSION = "0.11.0-snapshot.3" def get_key_comment(toml_table, key):