Generate static HeuristicProfile in CA admin, preview and run without LLM on each post via shared interpreter in CP batch and listener. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
745 B
Bash
25 lines
745 B
Bash
# Telegram (CP workers)
|
|
TELEGRAM_API_ID=12345678
|
|
TELEGRAM_API_HASH=your_api_hash_here
|
|
TELEGRAM_SESSION_PATH=/data/telegram.session
|
|
|
|
# Optional Telegram proxy
|
|
# TELEGRAM_PROXY_TYPE=socks5
|
|
# TELEGRAM_PROXY_HOST=127.0.0.1
|
|
# TELEGRAM_PROXY_PORT=1080
|
|
|
|
# Platform internals
|
|
INTERNAL_TOKEN=dev-internal-token
|
|
TEST_PI_API_KEY=test-pi-api-key-change-me
|
|
|
|
# DeepSeek LLM:
|
|
# - extract_mode=llm on CP workers (Telegram unstructured + Crawl4AI)
|
|
# - parser-builder Generate on ca-api (one-shot profile; runtime stays rule-based)
|
|
# DEEPSEEK_API_KEY=sk-...
|
|
# DEEPSEEK_BASE_URL=https://api.deepseek.com
|
|
# DEEPSEEK_MODEL=deepseek-chat
|
|
|
|
# CP adapter workers (set in docker-compose; override locally if needed)
|
|
# ENABLED_ADAPTERS=telegram
|
|
# WORKER_FAMILIES=telegram
|