fix: auto expand the fields group

This commit is contained in:
jialin
2025-11-07 11:56:12 +08:00
parent 39efca0d4c
commit 64e2cfa35a
18 changed files with 168 additions and 101 deletions
@@ -40,7 +40,7 @@ const SpeculativeDecode = () => {
const onValuesChangeDebounced = _.debounce(() => {
const allValues = form.getFieldsValue();
onValuesChange?.({}, allValues);
}, 200);
}, 150);
const handleSpeculativeEnabledChange = (e: any) => {
if (e.target.checked) {
@@ -57,8 +57,8 @@ const SpeculativeDecode = () => {
});
} else {
speculativeConfigRef.current = form.getFieldValue('speculative_config');
onValuesChangeDebounced();
}
onValuesChangeDebounced();
};
const handleAlgorithemChange = (value: string) => {