We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8c89a3 commit f4f6d6dCopy full SHA for f4f6d6d
1 file changed
tests/integrations/huggingface_hub/test_huggingface_hub.py
@@ -403,9 +403,9 @@ def test_chat_completion_streaming(
403
}
404
# usage is not available in older versions of the library
405
if HF_VERSION and HF_VERSION >= (0, 26, 0):
406
- expected_data["gen_ai.usage.input_tokens"] = (183,)
407
- expected_data["gen_ai.usage.output_tokens"] = (14,)
408
- expected_data["gen_ai.usage.total_tokens"] = (197,)
+ expected_data["gen_ai.usage.input_tokens"] = 183
+ expected_data["gen_ai.usage.output_tokens"] = 14
+ expected_data["gen_ai.usage.total_tokens"] = 197
409
410
if send_default_pii:
411
expected_data["gen_ai.request.messages"] = (
0 commit comments