Browse Source

Merge pull request #5601 from JamesClarke7283/extend-num-predict-param

fix: Extend num predict param
Timothy Jaeryang Baek 9 months ago
parent
commit
c5b93ca631
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte

+ 1 - 2
src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte

@@ -734,7 +734,7 @@
 						id="steps-range"
 						type="range"
 						min="-2"
-						max="16000"
+						max="131072"
 						step="1"
 						bind:value={params.max_tokens}
 						class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
@@ -746,7 +746,6 @@
 						type="number"
 						class=" bg-transparent text-center w-14"
 						min="-2"
-						max="16000"
 						step="1"
 					/>
 				</div>