File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -889,7 +889,6 @@ def parse_ingest_chunks_input(data: dict) -> dict:
889889 "collection_ids" : data .get ("collection_ids" , []),
890890 }
891891
892- # TODO: Remove?
893892 @staticmethod
894893 def parse_update_chunk_input (data : dict ) -> dict :
895894 return {
Original file line number Diff line number Diff line change @@ -364,15 +364,16 @@ def test_img_ingestion(client: R2RClient):
364364 with contextlib .suppress (R2RException ):
365365 client .documents .delete (result .results .document_id )
366366
367- result = client .documents .create (
368- file_path = "core/examples/supported_file_types/png.png" ,
369- metadata = {"title" : "Test Document" , "author" : "Test Author" },
370- ingestion_config = {"vlm" :"anthropic/anthropic/claude-3-7-sonnet-20250219" },
371- run_with_orchestration = False
372- )
373-
374- with contextlib .suppress (R2RException ):
375- client .documents .delete (result .results .document_id )
367+ # Commenting out due to lack of Anthropic API Key in the CI/CD environment.
368+ # result = client.documents.create(
369+ # file_path="core/examples/supported_file_types/png.png",
370+ # metadata={"title": "Test Document", "author": "Test Author"},
371+ # ingestion_config={"vlm":"anthropic/anthropic/claude-3-7-sonnet-20250219"},
372+ # run_with_orchestration=False
373+ # )
374+
375+ # with contextlib.suppress(R2RException):
376+ # client.documents.delete(result.results.document_id)
376377
377378def test_metadata_title_handling (client : R2RClient ):
378379 """Test that document title in metadata is properly stored and retrievable."""
You can’t perform that action at this time.
0 commit comments