diff --git a/web/berry/src/views/Channel/component/EditModal.js b/web/berry/src/views/Channel/component/EditModal.js index a629901d..f99af8fc 100644 --- a/web/berry/src/views/Channel/component/EditModal.js +++ b/web/berry/src/views/Channel/component/EditModal.js @@ -38,8 +38,6 @@ const validationSchema = Yup.object().shape({ then: Yup.string().required("密钥 不能为空"), }), other: Yup.string(), - proxy: Yup.string(), - test_model: Yup.string(), models: Yup.array().min(1, "模型 不能为空"), groups: Yup.array().min(1, "用户组 不能为空"), base_url: Yup.string().when("type", { @@ -623,71 +621,6 @@ const EditModal = ({ open, channelId, onCancel, onOk }) => { )} - - - {inputLabel.proxy} - - - {touched.proxy && errors.proxy ? ( - - {errors.proxy} - - ) : ( - - {" "} - {inputPrompt.proxy}{" "} - - )} - - {inputPrompt.test_model && ( - - - {inputLabel.test_model} - - - {touched.test_model && errors.test_model ? ( - - {errors.test_model} - - ) : ( - - {" "} - {inputPrompt.test_model}{" "} - - )} - - )}