From da58cbd24abc802b18e13e36dd785046ca350ab6 Mon Sep 17 00:00:00 2001 From: aakashb95 Date: Mon, 5 Jan 2026 21:04:59 +0530 Subject: [PATCH] fix: on error send user friendly message --- .../app/services/captain/assistant/agent_runner_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/app/services/captain/assistant/agent_runner_service.rb b/enterprise/app/services/captain/assistant/agent_runner_service.rb index b7eea59c7..64fde0c9a 100644 --- a/enterprise/app/services/captain/assistant/agent_runner_service.rb +++ b/enterprise/app/services/captain/assistant/agent_runner_service.rb @@ -94,7 +94,7 @@ class Captain::Assistant::AgentRunnerService def error_response(error_message) { - 'response' => 'conversation_handoff', + 'response' => 'Transferring to another agent for further assistance.', 'reasoning' => "Error occurred: #{error_message}", 'action' => 'handoff' }