aboutsummaryrefslogtreecommitdiff
path: root/src/gpt_chat_cli/gcli.py
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-05 15:17:26 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-05 15:17:26 -0500
commit537d08fd952a88a799eff4002d8e6f1d2c224258 (patch)
treee589ec409b7edcde9f3571f043317172854d33d3 /src/gpt_chat_cli/gcli.py
parenta39e8267e5daf4808ce5d5e404ca84bb35e31282 (diff)
downloadgpt-chat-cli-537d08fd952a88a799eff4002d8e6f1d2c224258.tar.xz
gpt-chat-cli-537d08fd952a88a799eff4002d8e6f1d2c224258.zip
Allow --load-response-from-file without message
Diffstat (limited to 'src/gpt_chat_cli/gcli.py')
-rw-r--r--src/gpt_chat_cli/gcli.py1
1 files changed, 0 insertions, 1 deletions
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)