feat:为normal_chat提供选项,有效控制回复频率

This commit is contained in:
SengokuCola
2025-05-28 20:41:46 +08:00
parent a2eb4a163b
commit bc489861d3
12 changed files with 138 additions and 284 deletions

View File

@@ -91,7 +91,7 @@ class NormalChatConfig(ConfigBase):
max_context_size: int = 15
"""上下文长度"""
message_buffer: bool = True
message_buffer: bool = False
"""消息缓冲器"""
emoji_chance: float = 0.2
@@ -103,6 +103,9 @@ class NormalChatConfig(ConfigBase):
willing_mode: str = "classical"
"""意愿模式"""
talk_frequency: float = 1
"""回复频率阈值"""
response_willing_amplifier: float = 1.0
"""回复意愿放大系数"""