diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-05-04 20:11:38 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-05-04 20:11:38 -0500 |
| commit | aa1f411b7a7d8ec97c8df4ea917b46dd25885512 (patch) | |
| tree | 778e0caf1ab9fe7b606fb73256786b1b6c0279ea /src/gpt_chat_cli/gcli.py | |
| parent | 290479ad2dff7451838a7aed676ca122306e93c5 (diff) | |
Add README
Diffstat (limited to 'src/gpt_chat_cli/gcli.py')
| -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) |
