zed-industries/zed · error
This model does not support images yet
Error message
This model does not support images yet
What it means
Error "This model does not support images yet" thrown in zed-industries/zed.
Source
Thrown at crates/agent_ui/src/mention_set.rs:405
supports_images: bool,
cx: &mut Context<Self>,
) -> Task<Result<Mention>> {
let Some(project) = self.project.upgrade() else {
return Task::ready(Err(anyhow!("project not found")));
};
let Some(project_path) = project
.read(cx)
.project_path_for_absolute_path(&abs_path, cx)
else {
return Task::ready(Err(anyhow!(
"project path not found for file mention {abs_path:?}"
)));
};
if is_raster_image_path(&abs_path) {
if !supports_images {
return Task::ready(Err(anyhow!("This model does not support images yet")));
}
let task = project.update(cx, |project, cx| project.open_image(project_path, cx));
return cx.spawn(async move |_, cx| {
let image = task.await?;
let image = image.update(cx, |image, _| image.image.clone());
let image = cx
.update(|cx| LanguageModelImage::from_image(image, cx))
.await;
if let Some(image) = image {
Ok(Mention::Image(MentionImage {
data: image.source,
format: LanguageModelImage::FORMAT,
}))
} else {
Err(anyhow!("Failed to convert image"))
}
});
}View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/agent_ui/src/mention_set.rs:405 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/6dc3437ab18d2ad5.
Report an issue: GitHub.