feat: 新增文件整理失败智能接管设置项(AI_AGENT_RETRY_TRANSFER)

This commit is contained in:
jxxghp
2026-04-03 13:39:57 +08:00
parent 3313c71805
commit fe22403e66
4 changed files with 18 additions and 0 deletions

View File

@@ -1353,6 +1353,9 @@ export default {
advancedSettingsDesc: 'System advanced settings, only need to be adjusted in special cases',
downloaders: 'Downloaders',
downloadersDesc: 'Only the default downloader will be used by default.',
aiAgentRetryTransfer: 'AI Takeover on Transfer Failure',
aiAgentRetryTransferHint:
'When enabled, the AI assistant will automatically take over and retry when file transfer/organization fails, using AI capabilities to resolve recognition and matching issues.',
aiRecommendEnabled: 'AI Search Recommendation',
aiRecommendEnabledHint:
'Enable AI search recommendation. When enabled, an AI recommendation button will be displayed on the search result page, recommending resources based on user preferences.',

View File

@@ -1346,6 +1346,9 @@ export default {
advancedSettingsDesc: '系统进阶设置,特殊情况下才需要调整',
downloaders: '下载器',
downloadersDesc: '只有默认下载器才会被默认使用。',
aiAgentRetryTransfer: '文件整理失败智能接管',
aiAgentRetryTransferHint:
'启用后当文件整理失败时智能助手将自动接管并尝试重新整理利用AI能力解决识别和匹配问题',
aiRecommendEnabled: '搜索结果智能推荐',
aiRecommendEnabledHint:
'启用搜索结果智能推荐功能,开启后将在搜索结果页面显示智能推荐按钮,可根据用户偏好智能推荐资源',

View File

@@ -1347,6 +1347,9 @@ export default {
advancedSettingsDesc: '系統進階設置,特殊情況下才需要調整',
downloaders: '下載器',
downloadersDesc: '只有默認下載器才會被默認使用。',
aiAgentRetryTransfer: '檔案整理失敗智能接管',
aiAgentRetryTransferHint:
'啟用後當檔案整理失敗時智能助手將自動接管並嘗試重新整理利用AI能力解決識別和匹配問題',
aiRecommendEnabled: '搜索結果智能推薦',
aiRecommendEnabledHint:
'啟用搜索結果智能推薦功能,開啟後將在搜索結果頁面顯示智能推薦按鈕,可根據用戶偏好智能推薦資源',

View File

@@ -39,6 +39,7 @@ const SystemSettings = ref<any>({
LLM_MODEL: 'deepseek-chat',
LLM_API_KEY: null,
LLM_BASE_URL: 'https://api.deepseek.com',
AI_AGENT_RETRY_TRANSFER: false,
AI_RECOMMEND_ENABLED: false,
AI_RECOMMEND_USER_PREFERENCE: null,
AI_RECOMMEND_MAX_ITEMS: 50,
@@ -793,6 +794,14 @@ onDeactivated(() => {
prepend-inner-icon="mdi-timer-outline"
/>
</VCol>
<VCol v-if="SystemSettings.Basic.AI_AGENT_ENABLE" cols="12">
<VSwitch
v-model="SystemSettings.Basic.AI_AGENT_RETRY_TRANSFER"
:label="t('setting.system.aiAgentRetryTransfer')"
:hint="t('setting.system.aiAgentRetryTransferHint')"
persistent-hint
/>
</VCol>
<VCol v-if="SystemSettings.Basic.AI_AGENT_ENABLE" cols="12">
<VSwitch
v-model="SystemSettings.Basic.AI_RECOMMEND_ENABLED"