Description
When I'm trying to point the agent to an SVG file, it gets rejected with this error:
messages.72.content.1.image.source.base64.media_type: Input should be 'image/jpeg', 'image/png', 'image/gif' or 'image/webp'
So I can't share or tell the agents to use SVG files in my instructions.
OpenCode version
1.0.41
Steps to reproduce
- Try to paste a file path to an SVG into OpenCode.
- Watch your soul get crushed from the rejection.
Screenshot and/or share link
No response
Operating System
macOS Tahoe 26.0.1
Terminal
WezTerm
Description
When I'm trying to point the agent to an SVG file, it gets rejected with this error:
messages.72.content.1.image.source.base64.media_type: Input should be 'image/jpeg', 'image/png', 'image/gif' or 'image/webp'So I can't share or tell the agents to use SVG files in my instructions.
OpenCode version
1.0.41
Steps to reproduce
Screenshot and/or share link
No response
Operating System
macOS Tahoe 26.0.1
Terminal
WezTerm