From 2c93a4b99cd5bd3de20d9ed1efe115fe277da96c Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Thu, 4 May 2023 20:11:38 -0500 Subject: Add README --- src/gpt_chat_cli/gcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gpt_chat_cli/gcli.py b/src/gpt_chat_cli/gcli.py index ded6d6c..dd7dbbb 100644 --- a/src/gpt_chat_cli/gcli.py +++ b/src/gpt_chat_cli/gcli.py @@ -105,7 +105,7 @@ def print_streamed_response(args : argparse.Namespace, completion : OpenAIChatRe if not prompt_printed and ADORNMENTS: res_indicator = '' if N_COMPLETIONS == 1 else \ - f' {display_idx + 1}/{n_completions}' + f' {display_idx + 1}/{N_COMPLETIONS}' PROMPT = f'[{COLOR_CODE.GREEN}{update.model}{COLOR_CODE.RESET}{COLOR_CODE.RED}{res_indicator}{COLOR_CODE.RESET}]' prompt_printed = True print(PROMPT, end=' ', flush=True) -- cgit v1.2.3