sgpt minor fixes

This commit is contained in:
Anton Volnuhin 2024-05-11 21:27:34 +03:00
parent 38ec48de6d
commit 9d409c06ea
2 changed files with 5 additions and 1 deletions

View File

@ -48,8 +48,12 @@ function ss
end
function s
if [ $TERM_PROGRAM ]
ssh $argv
else
kitty +kitten ssh $argv
end
end
function icat
if [ $TERM_PROGRAM ]

View File

@ -4,7 +4,7 @@ import shlex
def main():
sgpt_options_parser = argparse.ArgumentParser(add_help=False)
sgpt_options_parser.add_argument('--model', type=str, choices=['gpt-3.5-turbo', 'gpt-4', 'gpt-4-32k'])
sgpt_options_parser.add_argument('--model', type=str)
sgpt_options_parser.add_argument('--temperature', type=float)
sgpt_options_parser.add_argument('--top-probability', type=float)
sgpt_options_parser.add_argument('--cache', action="store_true")