Skip to content

Commit fd67f98

Browse files
authored
Fix temperature range (ChatGPTNextWeb#4083)
1 parent e2da340 commit fd67f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/store/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const ModalConfigValidator = {
9191
return limitNumber(x, -2, 2, 0);
9292
},
9393
temperature(x: number) {
94-
return limitNumber(x, 0, 1, 1);
94+
return limitNumber(x, 0, 2, 1);
9595
},
9696
top_p(x: number) {
9797
return limitNumber(x, 0, 1, 1);

0 commit comments

Comments
 (0)