fix: correct OCR API path from /ocr to /chandra/ocr for hub endpoint

This commit is contained in:
wren
2026-05-13 15:13:39 +08:00
parent 01b02da685
commit 46ffca4fc4
@@ -277,7 +277,7 @@ class ResilientChandraOCRClient(ChandraOCRClient):
files = {"file": (path.name, file_obj, _guess_mime(path))}
data = {"include_images": str(self.include_images).lower()}
response = await client.post(
f"{self.base_url}/ocr",
f"{self.base_url}/chandra/ocr",
files=files,
data=data,
)