From 4bb3b25c44c9842b16995270e4437a877a4b039f Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 16 Mar 2026 17:15:36 +0530 Subject: [PATCH] chore: change role in user idle handle --- api/services/workflow/pipecat_engine_callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/services/workflow/pipecat_engine_callbacks.py b/api/services/workflow/pipecat_engine_callbacks.py index 684514f..8fb1511 100644 --- a/api/services/workflow/pipecat_engine_callbacks.py +++ b/api/services/workflow/pipecat_engine_callbacks.py @@ -47,14 +47,14 @@ class UserIdleHandler: if self._retry_count == 1: message = { - "role": "system", + "role": "user", "content": "The user has been quiet. Politely and briefly ask if they're still there in the language that the user has been speaking so far.", } await aggregator.push_frame(LLMMessagesAppendFrame([message], run_llm=True)) return message = { - "role": "system", + "role": "user", "content": "The user has been quiet. We will be disconnecting the call now. Wish them a good day in the language that the user has been speaking so far.", } await aggregator.push_frame(LLMMessagesAppendFrame([message], run_llm=True))