# Environment file for the crane-wyoming systemd service.
# Install as /etc/default/crane-wyoming (loaded via EnvironmentFile= in
# crane-wyoming.service). Every setting here can also be passed as a CLI
# flag; a flag on the command line always overrides the matching variable.
#
# Uncomment and edit the variables you need.

# Required: parent directory containing a tts/ and/or asr/ subdirectory of
# model subdirectories. All recognized TTS/ASR models found under tts/ or
# asr/ are loaded; the first one of each family (alphabetically) is the
# default voice/ASR model when a client does not request one. A missing
# tts/ or asr/ subdirectory just means zero models of that family (e.g. an
# ASR-only deployment has no tts/ subdirectory at all).
CRANE_WYOMING_MODEL_PATH=/var/lib/crane/models

# Optional: restrict which model subdirectories under
# CRANE_WYOMING_MODEL_PATH/tts are loaded, separated by ';'. Order
# determines voice priority (first = default). Omit to load every
# recognized TTS model. Run `crane-wyoming --model-path <dir> --list-models`
# to see what's available.
#CRANE_WYOMING_MODEL_TTS=Voxtral-4B-TTS-2603;Qwen3-TTS-12Hz-0.6B-Base

# Optional: restrict which model subdirectories under
# CRANE_WYOMING_MODEL_PATH/asr are loaded, separated by ';'. Order
# determines default-model priority (first = default). Omit to load every
# recognized ASR model. Run `crane-wyoming --model-path <dir> --list-models`
# to see what's available.
#CRANE_WYOMING_MODEL_ASR=Qwen3-ASR-0.6B-hf

# TCP port to listen on (default: 10200).
#CRANE_WYOMING_PORT=10200

# Host address to bind to (default: 0.0.0.0).
#CRANE_WYOMING_HOST=0.0.0.0

# Listen address as a URI: tcp://host:port or unix:///path/to/socket.
# Overrides CRANE_WYOMING_HOST/CRANE_WYOMING_PORT when set.
#CRANE_WYOMING_URI=unix:///run/crane-wyoming/wyoming.sock

# Force CPU-only inference, disabling CUDA/Metal auto-detection.
#CRANE_WYOMING_CPU=false

# Maximum number of concurrent client connections (default: 16).
#CRANE_WYOMING_MAX_CONNECTIONS=16

# Directory for the on-disk TTS response cache. Omit to disable caching.
CRANE_WYOMING_TTS_CACHE_DIR=/var/cache/crane-wyoming

# Maximum size of the TTS cache, e.g. "500M" or "1G" (default: 500M).
#CRANE_WYOMING_TTS_CACHE_MAX_SIZE=500M
