Merge pull request #4458 from janhq/fix/mismatch-between-ui-and-model-configs
fix: mismatch NGL number between UI and model settings
This commit is contained in:
commit
bde35b46b9
@ -33,6 +33,11 @@ export const getConfigurationsData = (
|
||||
componentSetting.controllerProps.max ||
|
||||
2048
|
||||
break
|
||||
case 'ngl':
|
||||
componentSetting.controllerProps.max =
|
||||
selectedModel?.settings.ngl ||
|
||||
componentSetting.controllerProps.max ||
|
||||
100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user