diff --git a/src/routes/assetsGenerate/polishAssetsPrompt.ts b/src/routes/assetsGenerate/polishAssetsPrompt.ts index d2ea095..887341e 100644 --- a/src/routes/assetsGenerate/polishAssetsPrompt.ts +++ b/src/routes/assetsGenerate/polishAssetsPrompt.ts @@ -98,7 +98,7 @@ export default router.post( const novelData = (await u.db("o_novel").whereIn("chapterIndex", [1]).select("*")) as NovelChapter[]; const novelText = mergeNovelText(novelData); - const skill = await useSkill("universal-agent"); + const skill = await useSkill("universal_agent.md"); const systemPrompt = `${skill.prompt} diff --git a/src/routes/production/workbench/getChatLines.ts b/src/routes/production/workbench/getChatLines.ts index 29bc9a9..cd83467 100644 --- a/src/routes/production/workbench/getChatLines.ts +++ b/src/routes/production/workbench/getChatLines.ts @@ -30,7 +30,7 @@ export default router.post( ); async function getLines(prompt: string) { - const skill = await useSkill("eventExtract-agent"); + const skill = await useSkill("universal_agent.md"); const resText = await u.Ai.Text("universalAgent").invoke({ system: skill.prompt, diff --git a/src/utils/cleanNovel.ts b/src/utils/cleanNovel.ts index 1d37939..9e3d4f2 100644 --- a/src/utils/cleanNovel.ts +++ b/src/utils/cleanNovel.ts @@ -29,7 +29,7 @@ class CleanNovel { const novel = allChapters[gi]; let resData; try { - const skill = await useSkill("universal-agent"); + const skill = await useSkill("universal_agent.md"); resData = await intansce.invoke({ system: skill.prompt,