fix(ui): 自定义工具表单 overflow-y-scroll→auto + 认证方式NONE翻译改为'无' + Captain文档爬虫/同步后端

This commit is contained in:
Rogee
2026-08-01 21:25:55 +08:00
parent 1446cfe701
commit 3a62f01942
20 changed files with 756 additions and 56 deletions
+3
View File
@@ -580,6 +580,9 @@ func Bootstrap(env string) (*App, error) {
captainAssistantService := service.NewCaptainAssistantService(captainAssistantRepo, captainInboxRepo, captainDocumentRepo, captainAssistantResponseRepo, llmProvider, rdb)
captainDocumentService := service.NewCaptainDocumentService(captainDocumentRepo, llmProvider, captainAssistantRepo)
captainDocumentService.SetResponseRepo(captainAssistantResponseRepo)
captainDocumentService.SetSyncBackend(service.NewCaptainDocumentSyncBackend())
captainDocumentService.SetCrawlBackend(service.NewCaptainDocumentCrawlBackend())
captainDocumentService.SetPageParserBackend(service.NewCaptainDocumentPageParserBackend())
captainDocumentService.SetWorkerPool(workerPool)
if _, err := service.EnqueueCaptainDocumentScheduleSyncs(context.Background(), workerPool, time.Now()); err != nil {
applogger.L().Warnf("failed to enqueue initial Captain document sync scheduler: %v", err)