fix: some fields value do not be updated from default spec

This commit is contained in:
jialin
2025-06-30 20:10:20 +08:00
parent b2e9cbb44a
commit 7da106798d
2 changed files with 8 additions and 1 deletions
+1
View File
@@ -145,6 +145,7 @@ const useSetChunkFetch = () => {
try {
const chunk = decoder.decode(value, { stream: true });
bufferManager.add(chunk);
bufferManager.updateSpeed(chunk.length);
throttledCallback();
} catch (error) {
// handle error
@@ -25,7 +25,13 @@ import ColumnWrapper from './column-wrapper';
import CompatibilityAlert from './compatible-alert';
import DataForm from './data-form';
const pickFieldsFromSpec = ['backend_version', 'backend_parameters', 'env'];
const pickFieldsFromSpec = [
'backend_version',
'backend_parameters',
'env',
'size',
'quantization'
];
type AddModalProps = {
title: string;