Fixed logic

This commit is contained in:
Dominic
2025-02-24 10:44:07 -08:00
parent 1a2c98f70b
commit 3745078bf1

View File

@@ -152,6 +152,7 @@ class FunctionHandlers:
await result_callback("Talking to the customer") await result_callback("Talking to the customer")
async def terminate_call( async def terminate_call(
function_name, tool_call_id, args, llm: LLMService, context, result_callback function_name, tool_call_id, args, llm: LLMService, context, result_callback
): ):
@@ -254,7 +255,7 @@ DO NOT say anything until you've determined if this is a voicemail or human."""
llm.register_function("switch_to_voicemail_response", handlers.voicemail_response) llm.register_function("switch_to_voicemail_response", handlers.voicemail_response)
llm.register_function("switch_to_human_conversation", handlers.human_conversation) llm.register_function("switch_to_human_conversation", handlers.human_conversation)
llm.register_function("terminate_call", handlers.terminate_call) llm.register_function("terminate_call", terminate_call)
pipeline = Pipeline( pipeline = Pipeline(
[ [