hermes-agent/acp_adapter
Teknium 7e2af0c2e8 feat(acp): pass image file attachments through as image_url parts
Extends PR #21400's resource inlining with image-specific handling: ACP
resource_link and embedded blob resources with an image/* mime (or image
file suffix when mime is missing) now emit an OpenAI image_url part
with a base64 data URL, so vision models actually see the image
instead of a [Binary file omitted] note. Non-image resources keep the
existing text-inlining behavior.

Adds 3 tests: local PNG via resource_link, JPEG mime inferred from
suffix when client omits mimeType, and embedded blob PNG.
2026-05-07 09:24:32 -07:00
..
__init__.py
…
__main__.py
…
auth.py
…
entry.py fix(mcp): move discovery out of model_tools import side effect (#16856) (#16899) 2026-04-28 01:17:58 -07:00
events.py
…
permissions.py
…
server.py feat(acp): pass image file attachments through as image_url parts 2026-05-07 09:24:32 -07:00
session.py fix(acp): use SessionDB.replace_messages for atomic history rewrite 2026-05-05 10:05:23 -07:00
tools.py fix(acp): compact Zed tool replay rendering 2026-05-03 01:44:23 -07:00