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