Feature Idea: Remove Image from Context (Compress Image to text) #11973
Replies: 3 comments 1 reply
-
|
Thanks for the idea. To automatically get a description of the image, that would require a vision-capable LLM, right? I'm not sure it's worth it to implement UI specifically for users to add an annotation -- they could just tell the LLM in regular chat what's in the image. The general direction is for models, even local ones, to gain capabilities, and I'm certain we'll see vision capabilities in more local models as time goes on, so this problem will sort of solve itself. Because of this I don't think implementing features like these will rise to the top of our priority list. |
Beta Was this translation helpful? Give feedback.
-
|
I'm still hitting this in July 2026 (Positron 2026.06.1), and there's an additional severity issue beyond just "model can't see the plot": once an image enters the context and the API errors, the conversation is permanently broken. Every subsequent message fails because the image stays in history. The only recovery is abandoning the chat and starting over. I did some digging into the source code to understand why:
I understand the "models will gain vision over time" argument, but text-only models are still very common (DeepSeek, GLM, many local models), and the "permanently broken conversation" aspect is a worse UX than just "can't see the plot." A couple of ideas that wouldn't require a vision LLM:
In the meantime, switching to a vision-capable model is a workable workaround — but it requires the user to remember to switch back and forth, and not everyone has access to a vision model. |
Beta Was this translation helpful? Give feedback.
-
|
We have merged a fix in Posit Assistant for this issue and it will be available in the next release of Posit Assistant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When using Databot with model providers that do not support vision capabilities (e.g., due to GitHub licensing restrictions or when using text-only models via Custom Providers), the session can run into errors or break when plots are generated. Since the created plot images are added to the conversation context, the text-only model cannot process them, which disrupts the workflow.
As noted in the documentation, Databot currently works best with Anthropic models, but users may not always have access to vision-capable models.
Proposed Solution
Provide an option to convert generated plots to a text-based representation before they are added to the conversation context. This could include:
Benefits
Beta Was this translation helpful? Give feedback.
All reactions