diff --git a/spec/enterprise/services/captain/assistant/agent_runner_service_spec.rb b/spec/enterprise/services/captain/assistant/agent_runner_service_spec.rb index 931ebb74a..68a1e8e43 100644 --- a/spec/enterprise/services/captain/assistant/agent_runner_service_spec.rb +++ b/spec/enterprise/services/captain/assistant/agent_runner_service_spec.rb @@ -148,7 +148,7 @@ RSpec.describe Captain::Assistant::AgentRunnerService do result = service.generate_response(message_history: message_history) expect(result).to eq({ - 'response' => 'conversation_handoff', + 'response' => 'Transferring to another agent for further assistance.', 'reasoning' => 'Error occurred: Test error', 'action' => 'handoff' }) @@ -170,7 +170,7 @@ RSpec.describe Captain::Assistant::AgentRunnerService do result = service.generate_response(message_history: message_history) expect(result).to eq({ - 'response' => 'conversation_handoff', + 'response' => 'Transferring to another agent for further assistance.', 'action' => 'handoff', 'reasoning' => 'Error occurred: Test error' })