Commit graph

2 commits

Author SHA1 Message Date
Guoguo
cfb6c76537 refactor(media): only auto-inject images for tool results, not user messages
Channel-received images (role=user) now get path tags only, letting
the LLM decide whether to view via load_image or just operate on
the file. Tool result images (role=tool, e.g. load_image) are
base64-encoded into a synthetic user message appended after the tool
message, since many LLM APIs don't support image_url in tool messages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 00:50:08 -07:00
lc6464
4c133dc2d9
refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00