fix ruff formatting

This commit is contained in:
Aleix Conchillo Flaqué
2025-01-15 13:02:13 -08:00
parent 4de192fbb0
commit 9dacbbbbf4
4 changed files with 5 additions and 7 deletions

View File

@@ -47,9 +47,7 @@ class MetricsLogger(FrameProcessor):
elif isinstance(d, LLMUsageMetricsData):
tokens = d.value
print(
f"!!! MetricsFrame: {frame}, tokens: {
tokens.prompt_tokens}, characters: {
tokens.completion_tokens}"
f"!!! MetricsFrame: {frame}, tokens: {tokens.prompt_tokens}, characters: {tokens.completion_tokens}"
)
elif isinstance(d, TTSUsageMetricsData):
print(f"!!! MetricsFrame: {frame}, characters: {d.value}")