Skip to content

image input support#404

Merged
s-kostyaev merged 7 commits intomainfrom
plan-image-input-support
Apr 29, 2026
Merged

image input support#404
s-kostyaev merged 7 commits intomainfrom
plan-image-input-support

Conversation

@s-kostyaev
Copy link
Copy Markdown
Owner

No description provided.

Add image file helpers, multipart prompt construction, interactive image chat commands, and ephemeral-by-default image context. Extend read_file with configurable auto/text/image modes that queue image media for the next tool follow-up request. Sanitize media out of saved sessions and compaction summaries, and add ERT coverage for image prompts, context media, read_file image mode, and pending tool media handling.
Add transient entries for image chat and image context, including argument forwarding tests for session flags and image files. Add a focused markdown guide covering supported image formats, direct chat usage, ephemeral image context, read_file modes, tool-call image bridging, and persistence behavior.
Add image input usage to README, including chat commands, context images, read_file image modes, relevant customization variables, and transient menu entries. Regenerate the Info manual from README.
Render context before manually sent chat messages when either global or ephemeral context is present. This makes image context links visible in the chat buffer before the assistant response. Add a regression test for ephemeral image context display and note the fix in NEWS.
Add ellama-ask-image and route image ask/chat commands through ephemeral image context before calling ellama-chat. Add a noninteractive image context helper, update transient forwarding, document the context-based image workflow, regenerate the Info manual, and cover the behavior with regression tests.
Updated `ellama--session-add-pending-tool-media` to include clickable links for
files.
The formatting uses Org-mode syntax when in `org-mode` and a Markdown-style link
otherwise.
@s-kostyaev s-kostyaev merged commit 24a37f9 into main Apr 29, 2026
14 checks passed
@s-kostyaev s-kostyaev deleted the plan-image-input-support branch April 29, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant