Skip to content

Commit

Permalink
Merge pull request #25 from tkawachi/change-m-opt
Browse files Browse the repository at this point in the history
Add short option for model flag and change default value for max-tokens flag.
  • Loading branch information
mergify[bot] authored Mar 26, 2023
2 parents 9cb6a28 + 6b05d73 commit a53231b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aichat.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ func main() {
var split = false
var model = gogpt.GPT4
getopt.FlagLong(&temperature, "temperature", 't', "temperature")
getopt.FlagLong(&maxTokens, "max-tokens", 'm', "max tokens, 0 to use default")
getopt.FlagLong(&maxTokens, "max-tokens", 0, "max tokens, 0 to use default")
getopt.FlagLong(&verbose, "verbose", 'v', "verbose output")
getopt.FlagLong(&listPrompts, "list-prompts", 'l', "list prompts")
getopt.FlagLong(&nonStreaming, "non-streaming", 0, "non streaming mode")
getopt.FlagLong(&split, "split", 0, "split input")
getopt.FlagLong(&model, "model", 0, "model")
getopt.FlagLong(&model, "model", 'm', "model")
getopt.Parse()

if listPrompts {
Expand Down

0 comments on commit a53231b

Please sign in to comment.