Check if Chatterbox Service is Available
Description
Quick check if the local Chatterbox TTS API is reachable. Returns TRUE/FALSE without throwing errors.
Usage
chatterbox_available(port = NULL, timeout = 2)
Arguments
port: Port to check (default from CHATTERBOX_PORT env var or 7810)timeout: Timeout in seconds (default 2)
Value
TRUE if service is available, FALSE otherwise
Examples
if (chatterbox_available()) {
tts("Hello", voice = "default", backend = "chatterbox")
}