feat: add conversational Telegram AI chat
All checks were successful
Codex Template Compliance / template-compliance (pull_request) Successful in 7s
Build / test-and-image (pull_request) Successful in 53s

This commit is contained in:
2026-07-05 20:39:11 +02:00
parent 9f3d7dc6a9
commit de1d9aee70
9 changed files with 404 additions and 12 deletions

View File

@@ -49,6 +49,11 @@ export default {
botPollingInterval: intEnv('TELEGRAM_POLL_INTERVAL', 5000),
channels: process.env.TELEGRAM_CHANNELS || null, // Comma-separated extra channel IDs
briefVerbosity: process.env.BRIEF_VERBOSITY || 'standard',
aiChatEnabled: boolEnv('TELEGRAM_AI_CHAT_ENABLED', true),
aiHistoryMessages: intEnv('TELEGRAM_AI_HISTORY_MESSAGES', 8),
aiMaxInputChars: intEnv('TELEGRAM_AI_MAX_INPUT_CHARS', 2000),
aiMaxTokens: intEnv('TELEGRAM_AI_MAX_TOKENS', 2048),
aiTimeoutMs: intEnv('TELEGRAM_AI_TIMEOUT_MS', 300000),
},
discord: {