From baad72a9024926d83707fb5d2aa5ca51c7e55d38 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Wed, 7 Feb 2024 09:29:48 -0800 Subject: [PATCH] Test fix for Ruby 2.4 --- lib/new_relic/agent/llm/chat_completion_summary.rb | 3 ++- lib/new_relic/agent/llm/embedding.rb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/new_relic/agent/llm/chat_completion_summary.rb b/lib/new_relic/agent/llm/chat_completion_summary.rb index 4f64fc3cee..535f47c4a9 100644 --- a/lib/new_relic/agent/llm/chat_completion_summary.rb +++ b/lib/new_relic/agent/llm/chat_completion_summary.rb @@ -35,7 +35,8 @@ def attributes end def attribute_name_exceptions - LlmEvent::ATTRIBUTE_NAME_EXCEPTIONS.merge(ResponseHeaders::ATTRIBUTE_NAME_EXCEPTIONS, ATTRIBUTE_NAME_EXCEPTIONS) + # TODO: `merge` accepts *args once