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
+3
View File
@@ -1353,6 +1353,9 @@ export default {
advancedSettingsDesc: 'System advanced settings, only need to be adjusted in special cases', advancedSettingsDesc: 'System advanced settings, only need to be adjusted in special cases',
downloaders: 'Downloaders', downloaders: 'Downloaders',
downloadersDesc: 'Only the default downloader will be used by default.', 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', aiRecommendEnabled: 'AI Search Recommendation',
aiRecommendEnabledHint: 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.', 'Enable AI search recommendation. When enabled, an AI recommendation button will be displayed on the search result page, recommending resources based on user preferences.',
+3
View File
@@ -1346,6 +1346,9 @@ export default {
advancedSettingsDesc: '系统进阶设置,特殊情况下才需要调整', advancedSettingsDesc: '系统进阶设置,特殊情况下才需要调整',
downloaders: '下载器', downloaders: '下载器',
downloadersDesc: '只有默认下载器才会被默认使用。', downloadersDesc: '只有默认下载器才会被默认使用。',
aiAgentRetryTransfer: '文件整理失败智能接管',
aiAgentRetryTransferHint:
'启用后,当文件整理失败时,智能助手将自动接管并尝试重新整理,利用AI能力解决识别和匹配问题',
aiRecommendEnabled: '搜索结果智能推荐', aiRecommendEnabled: '搜索结果智能推荐',
aiRecommendEnabledHint: aiRecommendEnabledHint:
'启用搜索结果智能推荐功能,开启后将在搜索结果页面显示智能推荐按钮,可根据用户偏好智能推荐资源', '启用搜索结果智能推荐功能,开启后将在搜索结果页面显示智能推荐按钮,可根据用户偏好智能推荐资源',
+3
View File
@@ -1347,6 +1347,9 @@ export default {
advancedSettingsDesc: '系統進階設置,特殊情況下才需要調整', advancedSettingsDesc: '系統進階設置,特殊情況下才需要調整',
downloaders: '下載器', downloaders: '下載器',
downloadersDesc: '只有默認下載器才會被默認使用。', downloadersDesc: '只有默認下載器才會被默認使用。',
aiAgentRetryTransfer: '檔案整理失敗智能接管',
aiAgentRetryTransferHint:
'啟用後,當檔案整理失敗時,智能助手將自動接管並嘗試重新整理,利用AI能力解決識別和匹配問題',
aiRecommendEnabled: '搜索結果智能推薦', aiRecommendEnabled: '搜索結果智能推薦',
aiRecommendEnabledHint: aiRecommendEnabledHint:
'啟用搜索結果智能推薦功能,開啟後將在搜索結果頁面顯示智能推薦按鈕,可根據用戶偏好智能推薦資源', '啟用搜索結果智能推薦功能,開啟後將在搜索結果頁面顯示智能推薦按鈕,可根據用戶偏好智能推薦資源',
@@ -39,6 +39,7 @@ const SystemSettings = ref<any>({
LLM_MODEL: 'deepseek-chat', LLM_MODEL: 'deepseek-chat',
LLM_API_KEY: null, LLM_API_KEY: null,
LLM_BASE_URL: 'https://api.deepseek.com', LLM_BASE_URL: 'https://api.deepseek.com',
AI_AGENT_RETRY_TRANSFER: false,
AI_RECOMMEND_ENABLED: false, AI_RECOMMEND_ENABLED: false,
AI_RECOMMEND_USER_PREFERENCE: null, AI_RECOMMEND_USER_PREFERENCE: null,
AI_RECOMMEND_MAX_ITEMS: 50, AI_RECOMMEND_MAX_ITEMS: 50,
@@ -793,6 +794,14 @@ onDeactivated(() => {
prepend-inner-icon="mdi-timer-outline" prepend-inner-icon="mdi-timer-outline"
/> />
</VCol> </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"> <VCol v-if="SystemSettings.Basic.AI_AGENT_ENABLE" cols="12">
<VSwitch <VSwitch
v-model="SystemSettings.Basic.AI_RECOMMEND_ENABLED" v-model="SystemSettings.Basic.AI_RECOMMEND_ENABLED"