fix: mismatch NGL number between UI and model settings

This commit is contained in:
Louis 2025-01-15 20:02:03 +07:00
parent 9579e8647b
commit 00930ebecb
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -33,6 +33,11 @@ export const getConfigurationsData = (
componentSetting.controllerProps.max ||
2048
break
case 'ngl':
componentSetting.controllerProps.max =
selectedModel?.settings.ngl ||
componentSetting.controllerProps.max ||
100
}
}
}