Skip to content

[Feature Request] Auto-switch to a vision-capable model (e.g. gemini-3.5) when an image is uploaded #2

Description

@Rosecheng7

Harness: dsh 0.1.0-rc.6 (dsh web profile)
Environment: macOS (Apple Silicon), Node v25.9.0

Summary

When a user uploads an image in the web UI, the harness does not automatically switch to a vision-capable model. The current model (e.g. a text-only model) stays selected, so any subsequent request that references the image either fails or produces a useless response — the user has to manually switch to a model that can see images (e.g. gemini-3.5) before the image is actually usable.

Current behavior

  1. User is on a text-only model
  2. User uploads an image via the UI.
  3. The model stays unchanged; the image attachment is effectively ignored (or the request errors out).
  4. User must notice the failure, manually open the model picker, and select a vision-capable model like gemini-3.5, then retry.

Expected behavior

  • When an image is uploaded, the harness automatically switches to a vision-capable model (e.g. gemini-3.5) — or at minimum shows a clear, one-click prompt: "This model can't see images. Switch to gemini-3.5?"
  • The switch should be non-destructive to the current conversation: keep the conversation history and the uploaded image, just swap the model for subsequent turns.
  • If multiple vision-capable models are configured, pick the first available one (or the one the user last used), and surface a hint in the UI showing which model was auto-selected.
  • Conversation history and the uploaded image are preserved across the switch.
  • The UI indicates which model is now active after the auto-switch.
  • Users can opt out of auto-switching if they prefer manual control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions