From d0576631d009e481bd5887a3243aac99b097d823 Mon Sep 17 00:00:00 2001 From: Uma Annamalai Date: Tue, 10 Oct 2023 10:23:00 -0700 Subject: [PATCH] Remove commented code. --- tests/mlmodel_openai/conftest.py | 1 - tests/mlmodel_openai/test_chat_completion.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/tests/mlmodel_openai/conftest.py b/tests/mlmodel_openai/conftest.py index e84f6482a..bb8fbeb6e 100644 --- a/tests/mlmodel_openai/conftest.py +++ b/tests/mlmodel_openai/conftest.py @@ -37,7 +37,6 @@ "debug.log_data_collector_payloads": True, "debug.record_transaction_failure": True, "machine_learning.enabled": True, - #"machine_learning.inference_events_value.enabled": True, "ml_insights_events.enabled": True } diff --git a/tests/mlmodel_openai/test_chat_completion.py b/tests/mlmodel_openai/test_chat_completion.py index 599dd9275..f32a42bbf 100644 --- a/tests/mlmodel_openai/test_chat_completion.py +++ b/tests/mlmodel_openai/test_chat_completion.py @@ -40,8 +40,6 @@ _test_openai_chat_completion_sync_messages = ( {"role": "system", "content": "You are a scientist."}, - #{"role": "user", "content": "What is the boiling point of water?"}, - #{"role": "assistant", "content": "The boiling point of water is 212 degrees Fahrenheit."}, {"role": "user", "content": "What is 212 degrees Fahrenheit converted to Celsius?"}, ) @@ -158,7 +156,6 @@ def test_openai_chat_completion_sync_in_txn(): @reset_core_stats_engine() -# One summary event, one system message, one user message, and one response message from the assistant @validate_ml_event_count(count=0) def test_openai_chat_completion_sync_outside_txn(): set_trace_info() @@ -180,7 +177,6 @@ def test_openai_chat_completion_sync_outside_txn(): @override_application_settings(disabled_ml_settings) @reset_core_stats_engine() -# One summary event, one system message, one user message, and one response message from the assistant @validate_ml_event_count(count=0) def test_openai_chat_completion_sync_disabled_settings(): set_trace_info()