[GH-ISSUE #7791] Don't try to parse images property for non image model #4978

Open
opened 2026-04-12 16:02:20 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Lucy-dot-dot on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7791

What is the issue?

Some clients missbehave as demonstrated in this third party client: https://github.com/longy2k/obsidian-bmo-chatbot/issues/105#issuecomment-2487862451. They sent image paths instead of a base64 representation of the image

While this client misbehaves and this issue should be fixed on their site, this is also something I expect ollama to catch, the linked comment showed that llama3.2 is used, a non image capable model. Therefore the image property should not be evaluated and no error messages should be returned.

This is a low priority thing which would be a nice to have but in no way is required

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.4.2

Originally created by @Lucy-dot-dot on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7791 ### What is the issue? Some clients missbehave as demonstrated in this third party client: https://github.com/longy2k/obsidian-bmo-chatbot/issues/105#issuecomment-2487862451. They sent image paths instead of a base64 representation of the image While this client misbehaves and this issue should be fixed on their site, this is also something I expect ollama to catch, the linked comment showed that llama3.2 is used, a non image capable model. Therefore the image property should not be evaluated and no error messages should be returned. This is a low priority thing which would be a nice to have but in no way is required ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.4.2
GiteaMirror added the bug label 2026-04-12 16:02:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4978