LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
UN-2646 [FIX] Skip the OSS-only vlm_utils contract in a merged cloud tree (#2304)
Praveen Kumarff9eaddfa896
diff --git a/backend/prompt_studio/tests/test_vlm_utils.py b/backend/prompt_studio/tests/test_vlm_utils.pyindex e0f6105fc..1ad38c21b 100644--- a/backend/prompt_studio/tests/test_vlm_utils.py+++ b/backend/prompt_studio/tests/test_vlm_utils.py@@ -15,7 +15,24 @@ from _pytest.monkeypatch import MonkeyPatchfrom prompt_studio import vlm_utils+ vlm_utils.VLM_IMAGE_ANSWER_AVAILABLE,+ reason=(+ "cloud plugin merged into the tree (cloud CI runs this suite against "+ "the OSS tree with plugins/vlm_image_answer copied in) — the "+ "package-absent contract below only holds in an OSS-only tree"+ ),+)class TestOssNoOps:+ """The OSS-only state: no cloud package, so every helper is a no-op.++ Skipped wholesale rather than per-test in a merged cloud tree: once the+ hooks are real, "returns None" and "does not raise" stop being no-op+ assertions and start depending on what the cloud hook does with the+ dummy arguments below — passing for reasons these tests never meant to+ check. Delegation in that tree is covered by the cloud_hooks tests.+ """+def test_cloud_package_absent_in_oss(self) -> None:assert vlm_utils.VLM_IMAGE_ANSWER_AVAILABLE is False