voice agent works

This commit is contained in:
Bijit Mondal
2026-02-13 17:33:18 +05:30
parent 6510232655
commit 4bda956530
3 changed files with 80 additions and 19 deletions

View File

@@ -55,7 +55,7 @@ Keep responses concise and conversational since they will be spoken aloud.
Use tools when needed to provide accurate information.`,
voice: "alloy",
speechInstructions: "Speak in a friendly, natural conversational tone.",
outputFormat: "mp3",
outputFormat: "opus",
streamingSpeech: {
minChunkSize: 40,
maxChunkSize: 180,