fix: unbound variable for completion client (#587)

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron Pham
2023-11-08 05:37:39 -05:00
committed by GitHub
parent 387637405d
commit 655a4071de

View File

@@ -15,6 +15,6 @@ if stream:
for chunk in completions:
text = chunk.choices[0].text
if text:
print(content, flush=True, end='')
print(text, flush=True, end='')
else:
print(completions)