it0/packages
hailin c9367ee22a fix: PDF attachments sent as document blocks instead of image blocks
PDF files were incorrectly wrapped as type:'image' content blocks,
causing Claude API to reject them as "Invalid image data".

- conversation-context.service: check mediaType for application/pdf,
  use type:'document' block (Anthropic native PDF support) instead
- claude-agent-sdk-engine: detect both 'image' and 'document' blocks
  when deciding to build multimodal SDK prompt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 05:27:41 -08:00
..
gateway feat: add voice I/O test page in Flutter settings 2026-02-24 05:16:10 -08:00
services fix: PDF attachments sent as document blocks instead of image blocks 2026-02-28 05:27:41 -08:00
shared fix: add attachments JSONB column to conversation_messages schema 2026-02-28 04:18:35 -08:00