浏览代码

fix: step value update

Timothy J. Baek 1 年之前
父节点
当前提交
827638527a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/lib/components/chat/SettingsModal.svelte

+ 1 - 2
src/lib/components/chat/SettingsModal.svelte

@@ -747,7 +747,7 @@
 									min="1"
 									max="16000"
 									bind:value={num_ctx}
-									step="32"
+									step="1"
 									class="w-full h-2 rounded-lg appearance-none cursor-pointer dark:bg-gray-700"
 								/>
 							</div>
@@ -771,7 +771,6 @@
 							</button>
 						</div>
 					</div>
-					
 				{:else if selectedTab === 'models'}
 					<div class="flex flex-col space-y-3 text-sm mb-10">
 						<div>