mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-03-09 14:37:58 +00:00
feat: 允许temperature调到2 (#1797)
ref: https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
This commit is contained in:
parent
c6e1663a39
commit
b8f2a0e849
@ -42,7 +42,7 @@ function handleReset() {
|
||||
<div class="flex items-center space-x-4">
|
||||
<span class="flex-shrink-0 w-[120px]">{{ $t('setting.temperature') }} </span>
|
||||
<div class="flex-1">
|
||||
<NSlider v-model:value="temperature" :max="1" :min="0" :step="0.1" />
|
||||
<NSlider v-model:value="temperature" :max="2" :min="0" :step="0.1" />
|
||||
</div>
|
||||
<span>{{ temperature }}</span>
|
||||
<NButton size="tiny" text type="primary" @click="updateSettings({ temperature })">
|
||||
|
Loading…
x
Reference in New Issue
Block a user