Этап 1: Базовый Telegram-бот с прокси

This commit is contained in:
mirivlad
2026-03-17 03:20:34 +08:00
commit 481ad8dddc
8 changed files with 176 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Telegram
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_PROXY_URL=socks5://user:pass@proxy:port
TELEGRAM_PROXY_TYPE=socks5
# Access control
ALLOWED_USERNAMES=user1,user2
BOT_NAME=Валера
# Tools
DEFAULT_TOOL=opencode
QWEN_COMMAND=qwen-code
OPENCODE_COMMAND=opencode
TOOL_TIMEOUT=120
# Memory
MEMORY_MESSAGES_COUNT=10
CHROMA_PERSIST_DIR=./chroma_db
# Scheduler
SCHEDULER_ENABLED=true
IDEA_INTERVAL_HOURS=4
# Speech-to-text
STT_ENABLED=true
STT_MODEL=vosk
# Russian LLM (optional)
GIGACHAT_CREDENTIALS=
YANDEX_API_KEY=
# Database
DATABASE_URL=sqlite+aiosqlite:///./valera.db