Skip to content

Commit

Permalink
Remove commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
umaannamalai committed Oct 10, 2023
1 parent dd29433 commit d057663
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/mlmodel_openai/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 0 additions & 4 deletions tests/mlmodel_openai/test_chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?"},
)

Expand Down Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit d057663

Please sign in to comment.