@@ -52,6 +52,7 @@ The `function.name` property identifies your transfer tool. Use this name when i
5252 "mode" : " warm-transfer-experimental" ,
5353 "transferAssistant" : {
5454 "firstMessage" : " Hello, I have a customer on the line. Are you available to take this call?" ,
55+ "firstMessageMode" : " assistant-speaks-first" , // Default behavior - assistant speaks immediately
5556 "maxDurationSeconds" : 120 ,
5657 "silenceTimeoutSeconds" : 30 ,
5758 "model" : {
@@ -88,6 +89,12 @@ The `function.name` property identifies your transfer tool. Use this name when i
8889 The initial message spoken by the transfer assistant when the operator answers
8990</ParamField >
9091
92+ <ParamField path = " transferAssistant.firstMessageMode" type = " string" default = " assistant-speaks-first" >
93+ Controls when the transfer assistant delivers the first message:
94+ - ` assistant-speaks-first ` : The assistant immediately speaks the ` firstMessage ` when the operator answers
95+ - ` assistant-waits-for-user ` : The assistant waits for the operator to speak before responding with the ` firstMessage `
96+ </ParamField >
97+
9198<ParamField path = " transferAssistant.maxDurationSeconds" type = " number" >
9299 Maximum duration in seconds for the operator call. The transfer is automatically cancelled if this limit is reached.
93100</ParamField >
@@ -146,6 +153,7 @@ The transfer assistant can be configured to handle various operator responses:
146153 "mode" : " warm-transfer-experimental" ,
147154 "transferAssistant" : {
148155 "firstMessage" : " Hi, I have a customer on the line who needs help with their recent order. Are you available?" ,
156+ "firstMessageMode" : " assistant-waits-for-user" ,
149157 "maxDurationSeconds" : 90 ,
150158 "model" : {
151159 "provider" : " openai" ,
0 commit comments