Skip to content

Commit

Permalink
typo in sum function
Browse files Browse the repository at this point in the history
  • Loading branch information
eavanvalkenburg committed Dec 19, 2024
1 parent edaae29 commit 4bca168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4bca168

Please sign in to comment.