forked from open-webui/open-webui
refac: token length limit
This commit is contained in:
parent
e360d57203
commit
877ed69004
1 changed files with 4 additions and 4 deletions
|
@ -492,8 +492,8 @@
|
||||||
<input
|
<input
|
||||||
id="steps-range"
|
id="steps-range"
|
||||||
type="range"
|
type="range"
|
||||||
min="1"
|
min="-1"
|
||||||
max="16000"
|
max="1024000"
|
||||||
step="1"
|
step="1"
|
||||||
bind:value={options.num_ctx}
|
bind:value={options.num_ctx}
|
||||||
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
|
||||||
|
@ -504,8 +504,8 @@
|
||||||
bind:value={options.num_ctx}
|
bind:value={options.num_ctx}
|
||||||
type="number"
|
type="number"
|
||||||
class=" bg-transparent text-center w-14"
|
class=" bg-transparent text-center w-14"
|
||||||
min="1"
|
min="-1"
|
||||||
max="16000"
|
max="1024000"
|
||||||
step="1"
|
step="1"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue