From edb765e0e10e82e951a27d0a3883911a3165eeec Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 28 Mar 2026 14:27:35 +0100 Subject: [PATCH] fix: prompt voice agent to introduce itself after connection Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/configurator/VoiceAgentProvider.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/configurator/VoiceAgentProvider.tsx b/src/components/configurator/VoiceAgentProvider.tsx index 5ff35f9..91b8d3d 100644 --- a/src/components/configurator/VoiceAgentProvider.tsx +++ b/src/components/configurator/VoiceAgentProvider.tsx @@ -337,6 +337,13 @@ export default function VoiceAgentProvider({ locale, children }: VoiceAgentProvi clearTimeout(setupTimeout); setStatus('active'); trackAmplitude(); + // Prompt the agent to introduce itself + ws.send(JSON.stringify({ + clientContent: { + turns: [{ role: 'user', parts: [{ text: 'Hello, please introduce yourself.' }] }], + turnComplete: true, + }, + })); return; }