diff --git a/package.json b/package.json index 0437e690..6c6a1d27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "2.9.18", + "version": "2.9.21", "private": true, "type": "module", "bin": "dist/service.js", @@ -127,4 +127,4 @@ "workbox-window": "^7.3.0" }, "packageManager": "yarn@1.22.18" -} +} \ No newline at end of file diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 34ab0197..c6a2cdd8 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -1335,9 +1335,11 @@ export default { aiAgentGlobal: 'Global AI Assistant', aiAgentGlobalHint: 'Enable global AI assistant functionality, all message conversations will be answered by the AI agent without using the /ai command', - aiAgentJobInterval: 'AI Agent Job Interval', + aiAgentJobInterval: 'Scheduled Wake', aiAgentJobIntervalHint: - 'Set the check interval for AI agent scheduled tasks. Select "Disabled" to disable scheduled tasks.', + 'Set the check interval for scheduled wake. Select "Disabled" to disable scheduled tasks.', + aiAgentVerbose: 'Verbose Mode', + aiAgentVerboseHint: 'When enabled, tool call process will be displayed in AI agent responses', aiAgentJobIntervalDisabled: 'Disabled', aiAgentJobInterval1h: '1 Hour', aiAgentJobInterval3h: '3 Hours', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 432e62e2..7893c73d 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1329,8 +1329,10 @@ export default { llmBaseUrlHint: 'LLM API的基础URL地址,用于自定义API端点', aiAgentGlobal: '全局智能助手', aiAgentGlobalHint: '启用全局智能助手功能,所有消息对话均使用智能体回答而不用使用/ai命令', - aiAgentJobInterval: '智能体定时任务间隔', - aiAgentJobIntervalHint: '设置智能体定时任务的检查间隔,选择"不启用"则不执行定时任务', + aiAgentJobInterval: '定时唤醒', + aiAgentJobIntervalHint: '设置定时唤醒的检查间隔,选择"不启用"则不执行定时任务', + aiAgentVerbose: '啰嗦模式', + aiAgentVerboseHint: '开启后会在智能体回复时显示工具调用过程', aiAgentJobIntervalDisabled: '不启用', aiAgentJobInterval1h: '1小时', aiAgentJobInterval3h: '3小时', diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index 37f5b5a2..074638e2 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -1330,8 +1330,10 @@ export default { llmBaseUrlHint: 'LLM API的基礎URL地址,用於自定義API端點', aiAgentGlobal: '全局智能助手', aiAgentGlobalHint: '啟用全局智能助手功能,所有消息對話均使用智能體回答而不用使用/ai命令', - aiAgentJobInterval: '智能體定時任務間隔', - aiAgentJobIntervalHint: '設置智能體定時任務的檢查間隔,選擇「不啟用」則不執行定時任務', + aiAgentJobInterval: '定時喚醒', + aiAgentJobIntervalHint: '設置定時喚醒的檢查間隔,選擇「不啟用」則不執行定時任務', + aiAgentVerbose: '囉嗦模式', + aiAgentVerboseHint: '開啟後會在智能體回覆時顯示工具調用過程', aiAgentJobIntervalDisabled: '不啟用', aiAgentJobInterval1h: '1小時', aiAgentJobInterval3h: '3小時', diff --git a/src/views/setting/AccountSettingSystem.vue b/src/views/setting/AccountSettingSystem.vue index cc0dbddd..1bbab7a2 100644 --- a/src/views/setting/AccountSettingSystem.vue +++ b/src/views/setting/AccountSettingSystem.vue @@ -131,11 +131,7 @@ const scrapingConfig = [ // 刮削策略设置 const ScrapingPolicies = ref>( - Object.fromEntries( - scrapingConfig.flatMap(section => - section.items.map(item => [item.key, 'missingOnly']) - ) - ) + Object.fromEntries(scrapingConfig.flatMap(section => section.items.map(item => [item.key, 'missingOnly']))), ) // 是否发送请求的总开关 @@ -513,7 +509,8 @@ async function loadScrapingSwitchs() { if (result.success && result.data?.value) { const loadedSwitches = result.data.value for (const key in loadedSwitches) { - if (typeof loadedSwitches[key] === 'boolean') { // 兼容旧数据 + if (typeof loadedSwitches[key] === 'boolean') { + // 兼容旧数据 loadedSwitches[key] = loadedSwitches[key] ? 'missingOnly' : 'skip' } } @@ -685,7 +682,7 @@ onDeactivated(() => { - + { persistent-hint /> - + { persistent-hint /> - - + @@ -787,6 +773,25 @@ onDeactivated(() => { prepend-inner-icon="mdi-counter" /> + + + { - {{ t(`setting.system.${section.section}`) }} + + {{ t(`setting.system.${section.section}`) }} + - +