fix: switch OCR to hub endpoint with correct /chandra/ocr path

This commit is contained in:
wren
2026-05-13 15:28:34 +08:00
parent b532ffc3b9
commit 52b4cd61bb
2 changed files with 2 additions and 2 deletions
@@ -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,
)