mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
4.8.23 dev (#3932)
* fix: collection list count * fix: collection list count * update doc * perf: init log * yml
This commit is contained in:
@@ -162,7 +162,7 @@ const ChannelLog = ({ Tab }: { Tab: React.ReactNode }) => {
|
||||
content: item.content
|
||||
};
|
||||
});
|
||||
}, [data]);
|
||||
}, [channelList, data, systemModelList]);
|
||||
|
||||
const [logDetail, setLogDetail] = useState<LogDetailType>();
|
||||
|
||||
|
@@ -143,7 +143,7 @@ const checkInvalidData = async () => {
|
||||
|
||||
console.log(`检测集合完成`);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
console.log('checkInvalidData error', error);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -166,7 +166,9 @@ const checkInvalidDataText = async () => {
|
||||
await MongoDatasetDataText.deleteMany({
|
||||
dataId: { $in: unExistsSet }
|
||||
});
|
||||
} catch (error) {}
|
||||
} catch (error) {
|
||||
console.log('checkInvalidDataText error', error);
|
||||
}
|
||||
};
|
||||
|
||||
/* pg 中的数据搬到 mongo dataset.datas 中,并做映射 */
|
||||
|
Reference in New Issue
Block a user