Explorar el Código

fix: #159 temperature should range 0 - 2

Yifei Zhang hace 2 años
padre
commit
380f818285
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/components/settings.tsx

+ 1 - 1
app/components/settings.tsx

@@ -389,7 +389,7 @@ export function Settings(props: { closeSettings: () => void }) {
               type="range"
               value={config.modelConfig.temperature.toFixed(1)}
               min="0"
-              max="1"
+              max="2"
               step="0.1"
               onChange={(e) => {
                 updateConfig(