From e0fac306cbe6ab423010612fa7fb8d106252c593 Mon Sep 17 00:00:00 2001 From: Oleksandr Kozachuk Date: Sun, 7 May 2023 15:01:48 +0200 Subject: [PATCH] Change default number of answers to 1 --- chatmastermind/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatmastermind/main.py b/chatmastermind/main.py index 1c937d4..ad68cba 100755 --- a/chatmastermind/main.py +++ b/chatmastermind/main.py @@ -82,7 +82,7 @@ def create_parser() -> argparse.ArgumentParser: parser.add_argument('-m', '--max-tokens', help='Max tokens to use', type=int) parser.add_argument('-T', '--temperature', help='Temperature to use', type=float) parser.add_argument('-M', '--model', help='Model to use') - parser.add_argument('-n', '--number', help='Number of answers to produce', type=int, default=3) + parser.add_argument('-n', '--number', help='Number of answers to produce', type=int, default=1) parser.add_argument('-s', '--source', nargs='*', help='Source add content of a file to the query') parser.add_argument('-S', '--only-source-code', help='Print only source code', action='store_true') tags_arg = parser.add_argument('-t', '--tags', nargs='*', help='List of tag names', metavar='TAGS')