@@ -52,6 +52,7 @@ The `function.name` property identifies your transfer tool. Use this name when i
52
52
"mode" : " warm-transfer-experimental" ,
53
53
"transferAssistant" : {
54
54
"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
55
56
"maxDurationSeconds" : 120 ,
56
57
"silenceTimeoutSeconds" : 30 ,
57
58
"model" : {
@@ -88,6 +89,12 @@ The `function.name` property identifies your transfer tool. Use this name when i
88
89
The initial message spoken by the transfer assistant when the operator answers
89
90
</ParamField >
90
91
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
+
91
98
<ParamField path = " transferAssistant.maxDurationSeconds" type = " number" >
92
99
Maximum duration in seconds for the operator call. The transfer is automatically cancelled if this limit is reached.
93
100
</ParamField >
@@ -146,6 +153,7 @@ The transfer assistant can be configured to handle various operator responses:
146
153
"mode" : " warm-transfer-experimental" ,
147
154
"transferAssistant" : {
148
155
"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" ,
149
157
"maxDurationSeconds" : 90 ,
150
158
"model" : {
151
159
"provider" : " openai" ,
0 commit comments