fix: harden scoped tools and settings persistence

This commit is contained in:
lofyer
2026-08-13 14:56:53 +08:00
parent bf1ec5d2f1
commit aab961226f
62 changed files with 4343 additions and 1314 deletions
+4 -1
View File
@@ -170,7 +170,10 @@ export class DocumentParsingService {
conversionAvailable: false,
localOcr
},
ocrModels
ocrModels,
...(this.settingsStore.getWarnings().length > 0
? { warnings: [...this.settingsStore.getWarnings()] }
: {})
})
}