chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2025-05-03 23:48:12 +04:00
1 parent 0f14f34dbe
commit aefd5d9557
55 files changed
+1092 -104

No files matched your search

@@ -161,10 +161,14 @@
toast.error($i18n.t('Docling Server URL required.'));
return;
}
if (RAGConfig.CONTENT_EXTRACTION_ENGINE === 'docling' &&
if (
RAGConfig.CONTENT_EXTRACTION_ENGINE === 'docling' &&
((RAGConfig.DOCLING_OCR_ENGINE === '' && RAGConfig.DOCLING_OCR_LANG !== '') ||
(RAGConfig.DOCLING_OCR_ENGINE !== '' && RAGConfig.DOCLING_OCR_LANG === ''))) {
toast.error($i18n.t('Both Docling OCR Engine and Language(s) must be provided or both left empty.'));
(RAGConfig.DOCLING_OCR_ENGINE !== '' && RAGConfig.DOCLING_OCR_LANG === ''))
) {
toast.error(
$i18n.t('Both Docling OCR Engine and Language(s) must be provided or both left empty.')
);
return;
}