Skip to content

multimodal input: images in chat (vision parts on the wire) #212

Closed

Description

@ajianaz

Summary

Feature-research ring 2 (2026-10-06, validated: wire is text-only today — no image parts anywhere in provider code). Accept images as user input (file path in the workspace jail, or inline base64) and send OpenAI-compatible image parts to vision-capable models. The model can then see screenshots/photos: "look at this error dialog" is a personal-assistant-shaped need.

Why

Leading harnesses accept image input (Claude Code, Cline). Tole's chat-first identity makes it MORE relevant here than for pure coding agents: assistants get shown things. Provider protocol (OpenAI-compatible content parts) already supports it; tole-core just never modeled it.

Design sketch

  • Input: --image <path> on run/chat/mission, or a file path referenced in the prompt that resolves INSIDE the workspace jail (no jail escape via image paths; outside → refuse loudly).
  • Wire: content array with text + image_url parts (data URL for local files); session entries record the reference (store the path/hash, not the blob — write-once store stays lean).
  • Risk-neutral: images are input, not tools — no approval implications; note cost impact (image tokens) in the unattended ops: budget tiers bound to trust + mission cost report #201 cost report.
  • Non-vision model + image input → loud model-capability error, not a silent drop.

Acceptance

  • Path-resolved (jailed) + inline images; vision-model round trip; capability error on non-vision models
  • Session replay preserves the image reference; docs + CHANGELOG same-PR

Activity

  1. added
    enhancement
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions