mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 10:17:55 +00:00
docling separation
This commit is contained in:
1 parent
e101c0a7f1
commit
d7a7d4d084
12 files changed
+100
-13
No files matched your search
@@ -158,6 +158,10 @@ def test_threshold_sends_sparse_text_to_fallback(tmp_path, parser_cls):
|
||||
|
||||
@pytest.fixture
|
||||
def docling_engine(monkeypatch):
|
||||
# The wiring assertions below expect the docling map; on a base install
|
||||
# (docling is an optional extra) the engine degrades to the legacy
|
||||
# parsers and these tests do not apply.
|
||||
pytest.importorskip("docling")
|
||||
from application.core.settings import settings
|
||||
|
||||
monkeypatch.setattr(settings, "DOC_PARSER_ENGINE", "docling")
|
||||
|
||||
Reference in new issue
Block a user