Skip to content

v1.5.2 β€” PDF text extraction via pypdf

Latest

Choose a tag to compare

@yi-john-huang yi-john-huang released this 22 Feb 05:30
· 24 commits to master since this release

Fixed

  • PDF content unreadable (root cause found) β€” the ~1.3 MB base64-encoded PDF body was exceeding OpenClaw's internal gateway body limit, causing an immediate TCP reset caught as ReadError β†’ 502 in under 100 ms. Replaced base64 binary forwarding with server-side text extraction using pypdf: Claude now receives the extracted text content of the PDF as a plain text block, which is 10–100Γ— smaller and actually readable.

Added

  • pypdf>=4.0.0 dependency for PDF text extraction

Notes

  • Scanned/image-only PDFs (no extractable text layer) will receive a (no extractable text β€” may be a scanned image) placeholder
  • Encrypted or corrupted PDFs fall back to (could not parse)

πŸ€– Generated with Claude Code