Files
openclaw/src/agents
cristip73 c4e76eb635 fix: enable image attachments in chat messages for Claude API
Images were previously converted to markdown data URLs which Claude API
treats as plain text, not as actual images.

Changes:
- Add parseMessageWithAttachments() that returns {message, images[]}
- Pass images through the stack to session.prompt() as content blocks
- Filter null/empty attachments before parsing
- Strip data URL prefix if client sends it

This enables iOS and other clients to send images that Claude can actually see.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 20:00:25 +01:00
..
2026-01-04 14:38:51 +00:00
2026-01-08 04:44:15 +00:00
2026-01-10 18:15:15 +00:00
2026-01-10 02:06:21 +00:00
2025-12-25 03:29:36 +01:00
2026-01-07 00:04:44 +01:00
2026-01-08 08:26:40 +01:00
2026-01-06 19:54:50 +01:00
2026-01-01 17:30:15 +01:00