remove:移除response_willing_amplifier

This commit is contained in:
SengokuCola
2025-06-04 22:27:18 +08:00
parent d30f35fe20
commit 458d4a3220
5 changed files with 2 additions and 11 deletions

View File

@@ -266,10 +266,6 @@ description = "回复意愿的计算模式经典模式classical、mxp
name = "回复频率"
description = "麦麦回复频率一般为1默认频率下30分钟麦麦回复30条约数"
[translations.items.response_willing_amplifier]
name = "回复意愿放大系数"
description = "麦麦回复意愿放大系数一般为1"
[translations.items.response_interested_rate_amplifier]
name = "兴趣度放大系数"
description = "麦麦回复兴趣度放大系数,听到记忆里的内容时放大系数"

View File

@@ -52,7 +52,6 @@ class APIBotConfig:
emoji_chance: float # 表情符号出现概率
thinking_timeout: int # 思考超时时间
willing_mode: str # 意愿模式
response_willing_amplifier: float # 回复意愿放大器
response_interested_rate_amplifier: float # 回复兴趣率放大器
down_frequency_rate: float # 降低频率率
emoji_response_penalty: float # 表情回复惩罚

View File

@@ -43,7 +43,7 @@ class ClassicalWillingManager(BaseWillingManager):
self.chat_reply_willing[chat_id] = min(current_willing, 3.0)
reply_probability = min(
max((current_willing - 0.5), 0.01) * global_config.normal_chat.response_willing_amplifier * 2, 1
max((current_willing - 0.5), 0.01) * 2, 1
)
# 检查群组权限(如果是群聊)

View File

@@ -107,9 +107,6 @@ class NormalChatConfig(ConfigBase):
talk_frequency: float = 1
"""回复频率阈值"""
response_willing_amplifier: float = 1.0
"""回复意愿放大系数"""
response_interested_rate_amplifier: float = 1.0
"""回复兴趣度放大系数"""

View File

@@ -80,8 +80,7 @@ thinking_timeout = 120 # 麦麦最长思考时间,超过这个时间的思考
willing_mode = "classical" # 回复意愿模式 —— 经典模式classicalmxp模式mxp自定义模式custom需要你自己实现
talk_frequency = 1 # 麦麦回复频率一般为1默认频率下30分钟麦麦回复30条约数
response_willing_amplifier = 1 # 麦麦回复意愿放大系数一般为1
response_interested_rate_amplifier = 1 # 麦麦回复兴趣度放大系数,听到记忆里的内容时放大系数
response_interested_rate_amplifier = 1 # 麦麦回复兴趣度放大系数
emoji_response_penalty = 0 # 对其他人发的表情包回复惩罚系数设为0为不回复单个表情包减少单独回复表情包的概率
mentioned_bot_inevitable_reply = true # 提及 bot 必然回复