forked from phoenix/litellm-mirror
fix TextCompletionStreamWrapper
This commit is contained in:
parent
e0b1eff1eb
commit
6634ea37e9
1 changed files with 1 additions and 1 deletions
|
@ -11102,7 +11102,7 @@ class CustomStreamWrapper:
|
||||||
|
|
||||||
|
|
||||||
class TextCompletionStreamWrapper:
|
class TextCompletionStreamWrapper:
|
||||||
def __init__(self, completion_stream, model, stream_options):
|
def __init__(self, completion_stream, model, stream_options: Optional[dict] = None):
|
||||||
self.completion_stream = completion_stream
|
self.completion_stream = completion_stream
|
||||||
self.model = model
|
self.model = model
|
||||||
self.stream_options = stream_options
|
self.stream_options = stream_options
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue