feat: dataset quote role support system; fix: adapt o1 model (#2733)

* feat: dataset quote support system role

* perf: adapt dataset quote role

* fix: adapt o1 model
This commit is contained in:
Archer
2024-09-18 13:38:50 +08:00
committed by shilin66
parent 531df6461d
commit 3218dffed5
35 changed files with 582 additions and 268 deletions

View File

@@ -208,8 +208,8 @@ const InputDataModal = ({
},
errorToast: t('common:common.error.unKnow')
});
// update
// update
const { runAsync: onUpdateData, loading: isUpdating } = useRequest2(
async (e: InputDataType) => {
if (!dataId) return Promise.reject(t('common:common.error.unKnow'));