fix: do not set default deployment name

This commit is contained in:
jialin
2026-02-03 16:05:43 +08:00
parent 0af7e95af2
commit 5efed8f193
@@ -319,7 +319,6 @@ const AddModal: FC<AddModalProps> = (props) => {
) {
return;
}
console.log('handleOnSelectModel:', item, selectedModel);
setIsGGUF(item.isGGUF);
clearCacheFormValues();
unlockWarningStatus();
@@ -327,7 +326,6 @@ const AddModal: FC<AddModalProps> = (props) => {
state: EvaluateProccess.model,
requestModelId: updateRequestModelId()
});
updateSelectedModel(item);
// TODO
form.current?.resetFields(resetFields);
@@ -345,6 +343,8 @@ const AddModal: FC<AddModalProps> = (props) => {
categories: getCategory(item)
});
updateSelectedModel(item);
let warningStatus: MessageStatus = {
show: true,
title: '',
@@ -425,7 +425,6 @@ const AddModal: FC<AddModalProps> = (props) => {
};
const handleBackendChange = async (backend: string) => {
console.log('handleBackendChange:', backend);
const data = form.current.form.getFieldsValue?.();
const res = handleBackendChangeBefore(data);
if (res.show) {