forked from phoenix/litellm-mirror
fix(sagemaker.py): fix token iterator default flag
This commit is contained in:
parent
3b1cef3e96
commit
3ef391800a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ import json
|
|||
|
||||
|
||||
class TokenIterator:
|
||||
def __init__(self, stream, acompletion: bool):
|
||||
def __init__(self, stream, acompletion: bool = False):
|
||||
if acompletion == False:
|
||||
self.byte_iterator = iter(stream)
|
||||
elif acompletion == True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue