Repository navigation
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 β 502in under 100 ms. Replaced base64 binary forwarding with server-side text extraction usingpypdf: 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.0dependency 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