remove:移除response_willing_amplifier
This commit is contained in:
@@ -266,10 +266,6 @@ description = "回复意愿的计算模式:经典模式(classical)、mxp
|
|||||||
name = "回复频率"
|
name = "回复频率"
|
||||||
description = "麦麦回复频率,一般为1,默认频率下,30分钟麦麦回复30条(约数)"
|
description = "麦麦回复频率,一般为1,默认频率下,30分钟麦麦回复30条(约数)"
|
||||||
|
|
||||||
[translations.items.response_willing_amplifier]
|
|
||||||
name = "回复意愿放大系数"
|
|
||||||
description = "麦麦回复意愿放大系数,一般为1"
|
|
||||||
|
|
||||||
[translations.items.response_interested_rate_amplifier]
|
[translations.items.response_interested_rate_amplifier]
|
||||||
name = "兴趣度放大系数"
|
name = "兴趣度放大系数"
|
||||||
description = "麦麦回复兴趣度放大系数,听到记忆里的内容时放大系数"
|
description = "麦麦回复兴趣度放大系数,听到记忆里的内容时放大系数"
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ class APIBotConfig:
|
|||||||
emoji_chance: float # 表情符号出现概率
|
emoji_chance: float # 表情符号出现概率
|
||||||
thinking_timeout: int # 思考超时时间
|
thinking_timeout: int # 思考超时时间
|
||||||
willing_mode: str # 意愿模式
|
willing_mode: str # 意愿模式
|
||||||
response_willing_amplifier: float # 回复意愿放大器
|
|
||||||
response_interested_rate_amplifier: float # 回复兴趣率放大器
|
response_interested_rate_amplifier: float # 回复兴趣率放大器
|
||||||
down_frequency_rate: float # 降低频率率
|
down_frequency_rate: float # 降低频率率
|
||||||
emoji_response_penalty: float # 表情回复惩罚
|
emoji_response_penalty: float # 表情回复惩罚
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class ClassicalWillingManager(BaseWillingManager):
|
|||||||
self.chat_reply_willing[chat_id] = min(current_willing, 3.0)
|
self.chat_reply_willing[chat_id] = min(current_willing, 3.0)
|
||||||
|
|
||||||
reply_probability = min(
|
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
|
||||||
)
|
)
|
||||||
|
|
||||||
# 检查群组权限(如果是群聊)
|
# 检查群组权限(如果是群聊)
|
||||||
|
|||||||
@@ -107,9 +107,6 @@ class NormalChatConfig(ConfigBase):
|
|||||||
talk_frequency: float = 1
|
talk_frequency: float = 1
|
||||||
"""回复频率阈值"""
|
"""回复频率阈值"""
|
||||||
|
|
||||||
response_willing_amplifier: float = 1.0
|
|
||||||
"""回复意愿放大系数"""
|
|
||||||
|
|
||||||
response_interested_rate_amplifier: float = 1.0
|
response_interested_rate_amplifier: float = 1.0
|
||||||
"""回复兴趣度放大系数"""
|
"""回复兴趣度放大系数"""
|
||||||
|
|
||||||
|
|||||||
@@ -80,8 +80,7 @@ thinking_timeout = 120 # 麦麦最长思考时间,超过这个时间的思考
|
|||||||
willing_mode = "classical" # 回复意愿模式 —— 经典模式:classical,mxp模式:mxp,自定义模式:custom(需要你自己实现)
|
willing_mode = "classical" # 回复意愿模式 —— 经典模式:classical,mxp模式:mxp,自定义模式:custom(需要你自己实现)
|
||||||
talk_frequency = 1 # 麦麦回复频率,一般为1,默认频率下,30分钟麦麦回复30条(约数)
|
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为不回复单个表情包,减少单独回复表情包的概率
|
emoji_response_penalty = 0 # 对其他人发的表情包回复惩罚系数,设为0为不回复单个表情包,减少单独回复表情包的概率
|
||||||
mentioned_bot_inevitable_reply = true # 提及 bot 必然回复
|
mentioned_bot_inevitable_reply = true # 提及 bot 必然回复
|
||||||
|
|||||||
Reference in New Issue
Block a user