Character schema v2: background, dialogue_style, appearance, skills, gaze_presets with automatic v1→v2 migration. LLM-assisted character creation via Character MCP server. Two-tier memory system (personal per-character + general shared) with budget-based injection into LLM system prompt. Per-character TTS voice routing via state file — Wyoming TTS server reads active config to route between Kokoro (local) and ElevenLabs (cloud PCM 24kHz). Dashboard: memories page, conversation history, character profile on cards, auto-TTS engine selection from character config. Also includes VTube Studio expression bridge and ComfyUI API guide. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
621 B
Python
27 lines
621 B
Python
"""Constants for OpenClaw Conversation integration."""
|
|
|
|
DOMAIN = "openclaw_conversation"
|
|
|
|
# Configuration keys
|
|
CONF_OPENCLAW_HOST = "openclaw_host"
|
|
CONF_OPENCLAW_PORT = "openclaw_port"
|
|
CONF_AGENT_NAME = "agent_name"
|
|
CONF_TIMEOUT = "timeout"
|
|
|
|
# Defaults
|
|
DEFAULT_HOST = "10.0.0.101"
|
|
DEFAULT_PORT = 8081 # OpenClaw HTTP Bridge (not 8080 gateway)
|
|
DEFAULT_AGENT = "main"
|
|
DEFAULT_TIMEOUT = 200 # Must exceed bridge cold timeout (180s)
|
|
|
|
# API endpoints
|
|
OPENCLAW_API_PATH = "/api/agent/message"
|
|
|
|
# Service names
|
|
SERVICE_PROCESS = "process"
|
|
|
|
# Attributes
|
|
ATTR_MESSAGE = "message"
|
|
ATTR_RESPONSE = "response"
|
|
ATTR_AGENT = "agent"
|