sgpt minor fixes
This commit is contained in:
parent
38ec48de6d
commit
9d409c06ea
@ -48,8 +48,12 @@ function ss
|
|||||||
end
|
end
|
||||||
|
|
||||||
function s
|
function s
|
||||||
|
if [ $TERM_PROGRAM ]
|
||||||
|
ssh $argv
|
||||||
|
else
|
||||||
kitty +kitten ssh $argv
|
kitty +kitten ssh $argv
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function icat
|
function icat
|
||||||
if [ $TERM_PROGRAM ]
|
if [ $TERM_PROGRAM ]
|
||||||
|
@ -4,7 +4,7 @@ import shlex
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
sgpt_options_parser = argparse.ArgumentParser(add_help=False)
|
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('--temperature', type=float)
|
||||||
sgpt_options_parser.add_argument('--top-probability', type=float)
|
sgpt_options_parser.add_argument('--top-probability', type=float)
|
||||||
sgpt_options_parser.add_argument('--cache', action="store_true")
|
sgpt_options_parser.add_argument('--cache', action="store_true")
|
||||||
|
Loading…
Reference in New Issue
Block a user