Skip to content

Commit 1c2fe6d

Browse files
committed
In the warm transfer example, remove unnecessary "parameters": None
1 parent f177a34 commit 1c2fe6d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

examples/dynamic/warm_transfer.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ def create_initial_customer_interaction_node() -> NodeConfig:
290290
"description": "Check store location and hours of operation",
291291
"handler": check_store_location_and_hours_of_operation,
292292
"transition_callback": transition_after_customer_task,
293-
"parameters": None,
294293
},
295294
},
296295
{
@@ -300,15 +299,13 @@ def create_initial_customer_interaction_node() -> NodeConfig:
300299
"description": "Start placing an order",
301300
"handler": start_order,
302301
"transition_callback": transition_after_customer_task,
303-
"parameters": None,
304302
},
305303
},
306304
{
307305
"type": "function",
308306
"function": {
309307
"name": "end_customer_conversation",
310308
"description": "End the conversation",
311-
"parameters": None,
312309
"transition_callback": end_customer_conversation,
313310
},
314311
},
@@ -343,7 +340,6 @@ def create_continued_customer_interaction_node() -> NodeConfig:
343340
"description": "Check store location and hours of operation",
344341
"handler": check_store_location_and_hours_of_operation,
345342
"transition_callback": transition_after_customer_task,
346-
"parameters": None,
347343
},
348344
},
349345
{
@@ -353,15 +349,13 @@ def create_continued_customer_interaction_node() -> NodeConfig:
353349
"description": "Start placing an order",
354350
"handler": start_order,
355351
"transition_callback": transition_after_customer_task,
356-
"parameters": None,
357352
},
358353
},
359354
{
360355
"type": "function",
361356
"function": {
362357
"name": "end_customer_conversation",
363358
"description": "End the conversation",
364-
"parameters": None,
365359
"transition_callback": end_customer_conversation,
366360
},
367361
},
@@ -418,7 +412,6 @@ def create_human_agent_interaction_node() -> NodeConfig:
418412
"function": {
419413
"name": "end_human_agent_conversation",
420414
"description": "Connect the human agent to the customer",
421-
"parameters": None,
422415
"transition_callback": end_human_agent_conversation,
423416
},
424417
}

0 commit comments

Comments
 (0)