Revert "Fix: forwarding highlight param" (#14249)

Reverts infiniflow/ragflow#14112
This commit is contained in:
Liu An
2026-04-21 15:23:18 +08:00
committed by GitHub
parent 78b800e685
commit 6e33d8722f
7 changed files with 5 additions and 28 deletions

View File

@@ -265,8 +265,8 @@ class TestChunksRetrieval:
@pytest.mark.parametrize(
"payload, expected_code, expected_highlight, expected_message",
[
({"highlight": True}, 0, True, ""),
({"highlight": "True"}, 0, True, ""),
pytest.param({"highlight": True}, 0, True, "", marks=pytest.mark.skip(reason="highlight not functionnal")),
pytest.param({"highlight": "True"}, 0, True, "", marks=pytest.mark.skip(reason="highlight not functionnal")),
({"highlight": False}, 0, False, ""),
({"highlight": "False"}, 0, False, ""),
({"highlight": None}, 0, False, "")