aboutsummaryrefslogtreecommitdiff
path: root/src/gpt_chat_cli/gcli.py
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-05-05 15:17:26 -0500
committerFurkan Sahin <furkan-dev@proton.me>2023-05-05 15:17:26 -0500
commit74418bfbee7cb3b7f47cb815849ac32bd05d052e (patch)
treec490609751c012e4dc777ed3031c6166ef2df2b3 /src/gpt_chat_cli/gcli.py
parent27265bbcd02f459e7adcde844ccb534bedef511f (diff)
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)