Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

remove docling available check

phact78586c53419b
diff --git a/src/tui/managers/docling_manager.py b/src/tui/managers/docling_manager.py
index 73df4fa79..c5ee1ccb6 100644
--- a/src/tui/managers/docling_manager.py
+++ b/src/tui/managers/docling_manager.py
@@ -97,15 +97,7 @@ class DoclingManager:
except OSError:
return False
- def _is_docling_serve_available(self) -> bool:
- """Return True if the docling_serve package is installed (optional extra)."""
- try:
- import docling_serve # noqa: F401
- return True
- except ImportError:
- return False
-
- def _recover_from_pid_file(self) -> None:
+def _recover_from_pid_file(self) -> None:
"""Try to recover connection to existing docling-serve process from PID file."""
pid = self._load_pid()
if pid is not None:
@@ -265,10 +257,6 @@ class DoclingManager:
self._log_buffer = []
self._add_log_entry("Starting docling serve as external process...")
- if not self._is_docling_serve_available():
- self._starting = False
- return False, "docling-serve not installed. Install with: uv sync --extra docling-serve"
-
try:
# Build command to run docling-serve via uvx (avoids bundling the massive dependency)
import shutil