fix: do not evaluate from model files
This commit is contained in:
@@ -11,7 +11,7 @@ interface ThemeType {
|
||||
}
|
||||
interface SegmentLineProps extends SegmentedProps {
|
||||
height?: number;
|
||||
theme: 'dark' | 'light';
|
||||
theme?: 'dark' | 'light';
|
||||
}
|
||||
|
||||
const darkTheme: ThemeType = {
|
||||
|
||||
@@ -451,15 +451,13 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
]);
|
||||
|
||||
if (props.deploymentType === 'modelFiles') {
|
||||
clearCacheFormValues();
|
||||
form.current?.form?.setFieldsValue({
|
||||
...props.initialValues
|
||||
});
|
||||
console.log('handleOnOpen - modelFiles:', props.initialValues);
|
||||
handleOnValuesChange?.({
|
||||
changedValues: {},
|
||||
allValues: {
|
||||
...props.initialValues
|
||||
},
|
||||
allValues: form.current?.form?.getFieldsValue(),
|
||||
source: source
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -437,6 +437,7 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
|
||||
restart_on_error: true,
|
||||
distributed_inference_across_workers: true,
|
||||
mode: 'throughput',
|
||||
generic_proxy: false,
|
||||
extended_kv_cache: {
|
||||
enabled: false,
|
||||
chunk_size: null,
|
||||
|
||||
Reference in New Issue
Block a user