Skip to content

Commit

Permalink
Fix temperature range (ChatGPTNextWeb#4083)
Browse files Browse the repository at this point in the history
  • Loading branch information
WqyJh authored Feb 20, 2024
1 parent e2da340 commit fd67f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const ModalConfigValidator = {
return limitNumber(x, -2, 2, 0);
},
temperature(x: number) {
return limitNumber(x, 0, 1, 1);
return limitNumber(x, 0, 2, 1);
},
top_p(x: number) {
return limitNumber(x, 0, 1, 1);
Expand Down

0 comments on commit fd67f98

Please sign in to comment.