blob: 8813dd4bc19a99895df869097f7eda2810bb6924 [file] [log] [blame] [raw]
# 专用聊天机器人配置 - 更活跃的参与
[agent]
default_mode = "interactive"
max_conversation_history = 100
model = "claude-sonnet-4-5-20250929"
api_timeout = 30
[cli]
max_command_history = 1000
prompt_style = "cyan"
show_progress = true
[sshout]
connection_mode = "api"
mention_patterns = ["@ChatBot", "@chatbot", "ChatBot:", "chatbot,"]
[sshout.server]
hostname = "example.com"
port = 22
username = "sshout"
[sshout.ssh_key]
private_key_path = "assets/ssh-keys/id_ecdsa_sshout_test"
timeout = 10
[sshout.message]
max_history = 100
context_count = 5
max_reply_length = 0
[mcp]
enabled = true
servers = []
tool_timeout = 30
# Telegram Bot配置
[telegram]
bot_token = "YOUR_BOT_TOKEN_HERE"
allowed_users = []
allowed_groups = []
[telegram.message]
stream_update_interval = 0.8
max_message_length = 4096
enable_markdown = true
context_history_limit = 80
# 聊天机器人特殊配置 - 更加活跃
[telegram.group_participation]
bot_names = [
"chatbot", "ChatBot", "CHATBOT",
"聊天机器人", "小聊", "机器人", "bot", "Bot", "BOT"
]
# 更频繁的随机参与
random_participation_range = [3, 8]
[telegram.files]
supported_image_formats = ["jpg", "jpeg", "png", "gif", "webp"]
supported_document_formats = ["pdf", "doc", "docx", "txt", "md"]
max_file_size_mb = 20
temp_dir = "temp/telegram"
[logging]
level = "INFO"
colored = true
format = "[%(asctime)s] %(levelname)s %(message)s"