Skip to content

Commit 46af71f

Browse files
authored
fix: the max_tokens is fixed at 300 in commitCmd (#97)
1 parent b887729 commit 46af71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/hepler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func check() error {
4343
viper.Set("openai.socks", socksProxy)
4444
}
4545

46-
if maxTokens != 0 {
46+
if maxTokens != 300 {
4747
viper.Set("openai.max_tokens", maxTokens)
4848
}
4949

0 commit comments

Comments
 (0)