haiku.rag/haiku_rag_slim/haiku/rag/chunkers
Yiorgis Gozadinos 3c7699f156
Fail docling-serve requests over to another instance with per-instance breaking
When a docling-serve instance crashes or returns 5xx, DoclingServeClient now
retries the request on a different instance (up to max_attempts) and trips a
per-instance circuit breaker so subsequent jobs skip a dead instance until its
cooldown elapses. Reuses the shared CircuitBreaker; adds max_attempts and a
nested circuit_breaker to providers.docling_serve.

Co-Authored-By: bryan davis <bryan@monkeytronics.org>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 11:03:44 +03:00
..
__init__.py Chunker abstraction 2025-11-17 13:05:06 +02:00
base.py Widen chunk() type to accept None, add test for None guard 2026-06-22 14:24:12 -04:00
docling_local.py Widen chunk() type to accept None, add test for None guard 2026-06-22 14:24:12 -04:00
docling_serve.py Fail docling-serve requests over to another instance with per-instance breaking 2026-07-08 11:03:44 +03:00