feat: 批量 unregister 功能 + 性能优化

功能:
- LibraryView 添加批量 unregister 按钮(勾选多个已注册文件后显示)
- 添加确认对话框,支持批量取消注册
- 添加中英日三语翻译

性能优化:
- search_agents API timeout 提升到 90s(避免前端超时)
- thumbnail 并发数从 32 降到 10(减少服务器压力)

修复:
- PeopleView 添加 group_uuid 字段映射
- LibraryView 排序优化(scanning/preparing 优先)
This commit is contained in:
2026-10-07 23:39:31 +08:00
parent 5928bc9404
commit e65d5648b8
7 changed files with 206 additions and 112 deletions

View File

@@ -301,7 +301,7 @@ case 'search_keyword': {
case 'search_agents': {
const body: any = { query: a.query }
if (a.conversationId) body.conversation_id = a.conversationId
return { url: '/api/v1/agents/search', method: 'POST', body }
return { url: '/api/v1/agents/search', method: 'POST', body, timeout: 90000 }
}
// --- Image APIs ---