33 lines
752 B
Plaintext
33 lines
752 B
Plaintext
# VK community settings
|
|
VK_GROUP_ID=24068391
|
|
VK_TOKEN=vk1.a.your_community_token
|
|
VK_API_VERSION=5.199
|
|
VK_WAIT=25
|
|
|
|
# Local endpoint used by longpoll worker
|
|
OPENCLAW_BRIDGE_URL=http://127.0.0.1:8787/vk/inbound
|
|
OPENCLAW_BRIDGE_TIMEOUT_MS=45000
|
|
|
|
# OpenClaw Responses API
|
|
OPENCLAW_RESPONSES_URL=http://127.0.0.1:18789/v1/responses
|
|
OPENCLAW_GATEWAY_TOKEN=replace_with_gateway_token
|
|
OPENCLAW_AGENT_MODEL=openclaw:main
|
|
OPENCLAW_TIMEOUT_MS=60000
|
|
|
|
# Endpoint bind
|
|
VK_ENDPOINT_HOST=127.0.0.1
|
|
VK_ENDPOINT_PORT=8787
|
|
VK_ENDPOINT_PATH=/vk/inbound
|
|
|
|
# Optional
|
|
VK_ALLOWED_EVENTS=message_new
|
|
VK_SYNC_LONGPOLL_SETTINGS=1
|
|
|
|
# Anti-bot guard (rate + spam patterns)
|
|
VK_ANTIBOT_ENABLED=1
|
|
VK_ANTIBOT_WINDOW_SEC=20
|
|
VK_ANTIBOT_MAX_MSGS=4
|
|
VK_ANTIBOT_BLOCK_SEC=300
|
|
|
|
LOG_LEVEL=info
|