22 lines
682 B
Python
22 lines
682 B
Python
"""Agent configuration."""
|
|
|
|
import os
|
|
|
|
# Tracker
|
|
TRACKER_WS_URL = os.getenv("AGENT_TRACKER_URL", "ws://localhost:8100/ws")
|
|
AGENT_TOKEN = os.getenv("AGENT_TOKEN", "") # Agent auth token from Tracker
|
|
|
|
# OpenClaw (brain)
|
|
OPENCLAW_URL = os.getenv("AGENT_OPENCLAW_URL", "http://localhost:18789")
|
|
OPENCLAW_TOKEN = os.getenv("AGENT_OPENCLAW_TOKEN", "team-board-f8k2m9x4p7")
|
|
|
|
# Agent identity
|
|
AGENT_NAME = os.getenv("AGENT_NAME", "Кодер")
|
|
AGENT_SLUG = os.getenv("AGENT_SLUG", "coder")
|
|
|
|
# Heartbeat
|
|
HEARTBEAT_INTERVAL = int(os.getenv("AGENT_HEARTBEAT_INTERVAL", "30"))
|
|
|
|
# Chats to auto-subscribe
|
|
LOBBY_CHAT_ID = os.getenv("AGENT_LOBBY_CHAT_ID", "25c20eaa-fbf1-4259-8501-0854cc926d0d")
|