From 4bca168aa81536eadda4e6553a1b0c59effacc9e Mon Sep 17 00:00:00 2001 From: eavanvalkenburg Date: Thu, 19 Dec 2024 09:05:05 +0100 Subject: [PATCH] typo in sum function --- python/tests/integration/completions/test_text_completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/integration/completions/test_text_completion.py b/python/tests/integration/completions/test_text_completion.py index 1cae0965f984..3e9b34ef76aa 100644 --- a/python/tests/integration/completions/test_text_completion.py +++ b/python/tests/integration/completions/test_text_completion.py @@ -296,7 +296,7 @@ async def get_text_completion_response( ) parts: list[StreamingTextContent] = [part async for part in response if part is not None] if parts: - return sum(parts[:1], parts[0]) + return sum(parts[1:], parts[0]) raise AssertionError("No response") return await service.get_text_content( prompt=prompt,