Skip to content

Commit 2fdb8aa

Browse files
committed
Remove Anthropic test
1 parent f3e8d55 commit 2fdb8aa

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

py/core/main/services/ingestion_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

py/tests/integration/test_ingestion.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff 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

377378
def test_metadata_title_handling(client: R2RClient):
378379
"""Test that document title in metadata is properly stored and retrievable."""

0 commit comments

Comments
 (0)