The (string & {}) arm is deliberate: the catalog is the service's, not
ours, so a voice added after this release must still compile, and so must
a deprecated one an existing agent already names. It keeps the current
names visible at the call site without turning a stale SDK into a build
failure.
A voice id from ASSEMBLYAI_TTS_VOICES.
The
(string & {})arm is deliberate: the catalog is the service's, not ours, so a voice added after this release must still compile, and so must a deprecated one an existing agent already names. It keeps the current names visible at the call site without turning a stale SDK into a build failure.