perf: code

This commit is contained in:
archer
2023-06-15 17:32:35 +08:00
parent 6f9e929298
commit bb36e637e0

View File

@@ -40,7 +40,6 @@ export const useAppRoute = (app) => {
name: model.name,
model: model.chat?.chatModel,
relatedKbs: kbNames, // 将relatedKbs的id转换为相应的Kb名称
searchMode: model.chat?.searchMode,
systemPrompt: model.chat?.systemPrompt || '',
'share.topNum': model.share?.topNum || 0,
'share.isShare': model.share?.isShare || false,