Update config.py

pull/289/head
Ealvn 2025-03-12 14:52:39 +01:00 committed by GitHub
parent 6d195e809e
commit 6e994af2eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class BotConfig:
MIN_TEXT_LENGTH: int = 2 # 最小处理文本长度
MAX_CONTEXT_SIZE: int = 15 # 上下文最大消息数
emoji_chance: float = 0.2 # 发送表情包的基础概率
handle_image: float = 0.05 # 处理图片的概率
ENABLE_PIC_TRANSLATE: bool = True # 是否启用图片翻译