diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-05-04 20:11:38 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2023-05-04 20:11:38 -0500 |
commit | 2c93a4b99cd5bd3de20d9ed1efe115fe277da96c (patch) | |
tree | 29b8eddff7fa61d147c133054a12e892a89e4722 /src | |
parent | b826de29835ece7267637b395273833b58df037b (diff) | |
download | gpt-chat-cli-2c93a4b99cd5bd3de20d9ed1efe115fe277da96c.tar.xz gpt-chat-cli-2c93a4b99cd5bd3de20d9ed1efe115fe277da96c.zip |
Add README
Diffstat (limited to 'src')
-rw-r--r-- | src/gpt_chat_cli/gcli.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |