Skip to content

Commit 93f359b

Browse files
committed
ResponsesAPIStreamingIterator aiter_lines
1 parent 8cb2909 commit 93f359b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

litellm/responses/streaming_iterator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ def __init__(
182182
def __aiter__(self):
183183
return self
184184

185+
def aiter_lines(self):
186+
return self.stream_iterator
187+
185188
async def __anext__(self) -> ResponsesAPIStreamingResponse:
186189
try:
187190
while True:

0 commit comments

Comments
 (0)