File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -389,10 +389,6 @@ def _set_completions_api_input_data(
389389 if top_p is not None and _is_given (top_p ):
390390 set_data_normalized (span , SPANDATA .GEN_AI_REQUEST_TOP_P , top_p )
391391
392- if not should_send_default_pii () or not integration .include_prompts :
393- set_data_normalized (span , SPANDATA .GEN_AI_OPERATION_NAME , "responses" )
394- return
395-
396392 if (
397393 not should_send_default_pii ()
398394 or not integration .include_prompts
@@ -485,10 +481,6 @@ def _set_embeddings_input_data(
485481 if top_p is not None and _is_given (top_p ):
486482 set_data_normalized (span , SPANDATA .GEN_AI_REQUEST_TOP_P , top_p )
487483
488- if not should_send_default_pii () or not integration .include_prompts :
489- set_data_normalized (span , SPANDATA .GEN_AI_OPERATION_NAME , "responses" )
490- return
491-
492484 if (
493485 not should_send_default_pii ()
494486 or not integration .include_prompts
You can’t perform that action at this time.
0 commit comments