3 Commits

Author SHA1 Message Date
juk0de 04db87414f configuration: added tests 2023-09-08 22:45:41 +02:00
juk0de 1c7d62222e configuration et al: implemented new Config format 2023-09-08 22:45:41 +02:00
juk0de 84158d26c7 cmm: splitted commands into separate modules 2023-09-08 22:45:41 +02:00
+2 -2
View File
@@ -52,8 +52,8 @@ def create_parser() -> argparse.ArgumentParser:
ai_parser.add_argument('-A', '--AI', help='AI ID to use')
ai_parser.add_argument('-M', '--model', help='Model to use')
ai_parser.add_argument('-n', '--num-answers', help='Number of answers to request', type=int, default=1)
ai_parser.add_argument('-m', '--max-tokens', help='Max. nr. of tokens', type=int)
ai_parser.add_argument('-T', '--temperature', help='Temperature value', type=float)
ai_parser.add_argument('-m', '--max-tokens', help='Max tokens to use', type=int)
ai_parser.add_argument('-T', '--temperature', help='Temperature to use', type=float)
# 'question' command parser
question_cmd_parser = cmdparser.add_parser('question', parents=[tag_parser, ai_parser],