From 49c8c8a74f0f824edc5075d557e192cb53a54c12 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Fri, 10 Nov 2023 12:45:12 -0800 Subject: [PATCH] (fix) streaming replicate --- litellm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/utils.py b/litellm/utils.py index a2287d3270b..4068755533d 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -3844,7 +3844,7 @@ class CustomStreamWrapper: elif len(curr_chunk) >= len(token): if token in curr_chunk: self.holding_chunk = curr_chunk.replace(token, "") - hold = True + hold = True else: pass