hurt-tomatoH
VAPI5mo ago
hurt-tomato

Custom TTS Help

Hey team! I have an agent configured to override with a custom TTS server in certain cases in my app. The voice override wll look like this:

{
provider: "custom-voice",
server: {
url: ttsUrl,
secret: secret,
timeoutSeconds: 30,
},
};

For some reason i'm not seeing any requests come through to my server when I initialize the SDK with this override.

const assistantOverrides = {
// Voice configuration
voice: voiceConfig,

// Custom LLM configuration
model: {
model: "gpt-4o",
provider: "custom-llm",
url: process.env.VAPI_LLM_URL,
},

// Metadata for tracking
metadata: {
agentId,
sessionId,
isPublic: true,
},
};

What could I be doing wrong? Thanks for all your help!

David
Was this page helpful?