fix: workflow clear repeat check run (#2646)

This commit is contained in:
Archer
2024-09-09 14:14:32 +08:00
committed by GitHub
parent a1ae08f62b
commit 3ea185315d
2 changed files with 10 additions and 6 deletions

View File

@@ -10,7 +10,12 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
data: {
feConfigs: global.feConfigs,
subPlans: global.subPlans,
llmModels: global.llmModels,
llmModels: global.llmModels.map((model) => ({
...model,
customCQPrompt: '',
customExtractPrompt: '',
defaultSystemChatPrompt: ''
})),
vectorModels: global.vectorModels,
reRankModels:
global.reRankModels?.map((item) => ({