From d2455d92f762496e5e87da9ae610ea7bb2153778 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 20 Nov 2025 21:25:34 +0800 Subject: [PATCH] * [refac] refactor js code and remove unused vars. --- www/js/zui3/ai.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/js/zui3/ai.js b/www/js/zui3/ai.js index 68eb9bba26..bce3b52f9d 100644 --- a/www/js/zui3/ai.js +++ b/www/js/zui3/ai.js @@ -173,8 +173,7 @@ window.executeZentaoPrompt = async function(info, auto) function registerZentaoAIPlugin(lang) { - const TWO_BREAKS = '\n\n'; - const plugin = zui.AIPlugin.define('zentao', {name: lang.name, icon: 'zentao'}); + const plugin = zui.AIPlugin.define('zentao', {name: lang.name, icon: 'zentao'}); plugin.defineAgent('storyReviewer', {