Skip to content

Add support for pdf and image file references - #1

Open
andber1 wants to merge 1 commit into
svent:mainfrom
andber1:add-pdf-image-support
Open

Add support for pdf and image file references#1
andber1 wants to merge 1 commit into
svent:mainfrom
andber1:add-pdf-image-support

Conversation

@andber1

@andber1 andber1 commented Aug 1, 2026

Copy link
Copy Markdown

This PR adds support for pdf and image file references. It uses OpenRouter multipart messages with the contents ContentPart::file_data_with_filename and ContentPart::image_url.

This enables commands like:

zo "@document.pdf Summarize this"
zo "@diagram.png Describe this image"

PS: Great tool! I really like the minimalist design.

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