sync snapshot from LAN repo (source codex/kb-context-retrieval-20261021 @ b69568e4)

This commit is contained in:
gozeros committed 2026-11-05 11:03:53 +08:00
1 parent ea9dcff9c0
commit 4cf657f725
781 files changed
+13559 -104852

No files matched your search

@@ -3,22 +3,9 @@ from __future__ import annotations
from pathlib import Path
from types import SimpleNamespace
import pytest
from deerflow.utils import file_conversion
@pytest.fixture(autouse=True)
def local_parser(monkeypatch):
# Parser-selection unit tests inject readers locally. Production always
# sends this same top-level parser entry point to spawned worker processes.
monkeypatch.setattr(
file_conversion,
"_run_conversion_in_process",
lambda path, converter: file_conversion._convert_document_worker(str(path), converter),
)
def test_legacy_word_is_normalized_before_markitdown(monkeypatch, tmp_path: Path) -> None:
source = tmp_path / "legacy.doc"
source.write_bytes(b"legacy")