Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Fix temperature range (ChatGPTNextWeb#4083)
Browse files Browse the repository at this point in the history
  • Loading branch information
WqyJh authored and H0llyW00dzZ committed Feb 20, 2024
1 parent a710ac6 commit fc1f752
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 @@ -132,7 +132,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 fc1f752

Please sign in to comment.