Check if Chatterbox Service is Available
Description
Quick check if the local Chatterbox TTS API is reachable. Returns TRUE/FALSE without throwing errors.
Usage
1chatterbox_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
1 if (chatterbox_available()) {
2 tts("Hello", voice = "default", backend = "chatterbox")
3 }