From 7aa001891b44bf23ddf9edb4268569cf6cc1a0ac Mon Sep 17 00:00:00 2001 From: Lalleh Rafeei Date: Fri, 27 Dec 2024 16:40:55 -0800 Subject: [PATCH] Remove commented out code --- scripts/new_vectorstore_adder.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/new_vectorstore_adder.py b/scripts/new_vectorstore_adder.py index b706878f3..8bb0b23a2 100644 --- a/scripts/new_vectorstore_adder.py +++ b/scripts/new_vectorstore_adder.py @@ -77,15 +77,13 @@ def main(): continue if not instrumented_class or class_name not in instrumented_class: - # uninstrumented_classes.append(class_name) - - # if uninstrumented_classes: - # for uninstrumented_class in uninstrumented_classes: if class_name in vector_store_class_directory: uninstrumented_directory = vector_store_class_directory[class_name] + # Add in newrelic/config.py if there is not an instrumented directory # Otherwise, config already exists, so no need to duplicate it. add_to_config(uninstrumented_directory, instrumented_class) + # Add in newrelic/hooks/mlmodel_langchain.py add_to_hooks(class_name, uninstrumented_directory, instrumented_class)