| # 专用助手机器人配置 - 更保守的参与 |
| [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 = ["@HelpBot", "@helpbot", "HelpBot:", "helpbot,"] |
| |
| [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 = 1.2 |
| max_message_length = 4096 |
| enable_markdown = true |
| context_history_limit = 60 |
| |
| # 助手机器人特殊配置 - 更加保守 |
| [telegram.group_participation] |
| bot_names = [ |
| "helpbot", "HelpBot", "HELPBOT", |
| "助手", "小助手", "帮助", "help", "Help", "HELP" |
| ] |
| # 更保守的随机参与 |
| random_participation_range = [10, 20] |
| |
| [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" |