Files
DeepTutor/deeptutor
cgycorey f911036964 fix(rag): keep a failing caption group from aborting the ingest
_describe_group handled only asyncio.TimeoutError, so any other exception
out of the batcher propagated through asyncio.gather, aborted
_load_image_nodes, and took the whole document ingest with it. Every
sibling failure path in the same function skips and logs instead: missing
or non-multimodal embedding client, unavailable LLM, reader OSError, empty
captions. The batch group was the one seam that re-raised.

The current batcher folds its own errors into [None] * len(images), so
this is defensive: the loader should not have to depend on that internal
detail to keep captions best-effort, and the batch path is opt-in and the
least exercised.

The new test replaces the batcher with one that raises and asserts the
ingest still returns.

Signed-off-by: cgycorey <cgycorey@users.noreply.github.com>
2026-10-23 22:04:31 +01:00
..
2026-10-19 04:12:56 +08:00
2026-09-06 13:46:29 +08:00
2026-10-19 04:12:56 +08:00
2026-10-08 11:34:42 +08:00
2026-09-24 09:59:56 +08:00
2026-10-19 04:12:56 +08:00