image input support#404
Merged
s-kostyaev merged 7 commits intomainfrom Apr 29, 2026
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.