From 537d08fd952a88a799eff4002d8e6f1d2c224258 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Fri, 5 May 2023 15:17:26 -0500 Subject: Allow --load-response-from-file without message --- src/gpt_chat_cli/gcli.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gpt_chat_cli/gcli.py') diff --git a/src/gpt_chat_cli/gcli.py b/src/gpt_chat_cli/gcli.py index 8ac7ac8..d904733 100644 --- a/src/gpt_chat_cli/gcli.py +++ b/src/gpt_chat_cli/gcli.py @@ -125,7 +125,6 @@ def print_streamed_response( prompt_printed = True print(PROMPT, end=' ', flush=True) - content = display_response.take_delta() print(f'{COLOR_CODE.WHITE}{content}{COLOR_CODE.RESET}', sep='', end='', flush=True) -- cgit v1.2.3