Skip to content

Commit 9c8614a

Browse files
committed
run black
1 parent d176347 commit 9c8614a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ddtrace/llmobs/_integrations/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def extract_message_from_part_google(part, role=None):
118118
message["content"] = "[tool result: {}]".format(function_response_dict.get("response", ""))
119119
return message
120120

121+
121122
def get_llmobs_metrics_tags(integration_name, span):
122123
usage = {}
123124

@@ -129,7 +130,7 @@ def get_llmobs_metrics_tags(integration_name, span):
129130
usage[OUTPUT_TOKENS_METRIC_KEY] = output_tokens
130131
usage[TOTAL_TOKENS_METRIC_KEY] = input_tokens + output_tokens
131132
return usage
132-
133+
133134
prompt_tokens_name = "prompt_tokens"
134135
completion_tokens_name = "completion_tokens"
135136
if integration_name in INTEGRATIONS_USING_INPUT_OUTPUT_TOKENS:

0 commit comments

Comments
 (0)