fix: kv cache default value

This commit is contained in:
jialin
2025-11-03 10:38:41 +08:00
parent 06f33ded10
commit 20872100d1
+2 -2
View File
@@ -20,9 +20,9 @@ const KVCacheForm = () => {
form.setFieldsValue({
extended_kv_cache: {
enabled: true,
chunk_size: configCacheRef.current?.chunk_size,
chunk_size: configCacheRef.current?.chunk_size || null,
ram_ratio: configCacheRef.current?.ram_ratio || 1.2,
ram_size: configCacheRef.current?.ram_size
ram_size: configCacheRef.current?.ram_size || null
}
});
} else {