forked from XiaoMo/ChatGPT-Next-Web
fix: #159 temperature should range 0 - 2
This commit is contained in:
parent
f893f53b1c
commit
380f818285
@ -389,7 +389,7 @@ export function Settings(props: { closeSettings: () => void }) {
|
|||||||
type="range"
|
type="range"
|
||||||
value={config.modelConfig.temperature.toFixed(1)}
|
value={config.modelConfig.temperature.toFixed(1)}
|
||||||
min="0"
|
min="0"
|
||||||
max="1"
|
max="2"
|
||||||
step="0.1"
|
step="0.1"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
updateConfig(
|
updateConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user