cristip73 and Claude Opus 4.5
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-09 22:00:14 +01:00
2026-01-09 23:00:36 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 22:30:15 +01:00
2026-01-09 16:41:05 +01:00
2026-01-10 20:00:25 +01:00
2026-01-08 08:26:40 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 23:00:36 +01:00
2026-01-03 05:10:09 +01:00
2026-01-09 08:13:05 +01:00
2026-01-10 16:32:21 +01:00
2026-01-10 01:09:34 +01:00
2026-01-10 16:32:59 +00:00
2026-01-09 08:13:05 +01:00
2026-01-10 16:32:59 +00:00
2026-01-08 22:18:07 +00:00
2026-01-07 01:28:46 +00:00
2026-01-09 22:00:14 +01:00
2026-01-08 06:56:34 +00:00
2026-01-09 17:53:57 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 11:07:17 +01:00
2026-01-09 12:48:42 +00:00
2026-01-10 16:36:43 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 12:48:42 +00:00
2026-01-07 04:43:24 +01:00
2026-01-10 16:23:35 +01:00
2026-01-10 16:23:35 +01:00
2026-01-10 16:23:35 +01:00
2026-01-10 03:01:27 +01:00
2026-01-09 10:39:00 +01:00
2026-01-09 10:39:00 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 12:48:42 +00:00
2026-01-10 16:17:02 +01:00
2026-01-10 03:01:27 +01:00
2025-12-26 13:20:30 +01:00
2026-01-05 06:18:11 +01:00
2025-12-26 14:32:57 +01:00
2026-01-08 07:40:08 +01:00
2026-01-09 08:30:24 +01:00
2026-01-09 20:47:03 +01:00
2026-01-10 16:32:59 +00:00
2026-01-09 22:00:14 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 14:07:45 +00:00
2026-01-10 16:14:49 +01:00
2026-01-10 16:32:21 +01:00
2026-01-09 12:48:42 +00:00
2026-01-03 16:48:08 +01:00
2026-01-10 03:54:29 +00:00
2026-01-10 04:14:39 +00:00
2026-01-10 04:14:39 +00:00
2026-01-10 16:32:21 +01:00
2026-01-10 01:08:00 +01:00
2026-01-10 16:36:43 +01:00
2026-01-07 01:19:31 +01:00
2026-01-07 01:19:31 +01:00
2026-01-10 16:32:21 +01:00
2026-01-09 17:50:34 +01:00
2026-01-09 12:48:42 +00:00
2026-01-09 12:48:42 +00:00
2026-01-10 01:09:34 +01:00
2026-01-10 01:09:34 +01:00
2026-01-08 23:59:40 -06:00
2026-01-08 12:01:06 +01:00
2026-01-09 13:23:16 +01:00
2026-01-09 13:23:16 +01:00
2026-01-09 13:23:16 +01:00
2026-01-09 13:29:47 +01:00
2026-01-09 13:29:47 +01:00
2026-01-09 12:48:42 +00:00
2026-01-10 05:14:07 +01:00
2026-01-09 12:48:42 +00:00
2026-01-04 14:38:51 +00:00
2026-01-09 21:59:01 +01:00
2026-01-09 21:59:01 +01:00
2026-01-09 22:17:09 +01:00