Skip to content

v0.37.5

Choose a tag to compare

@github-actions github-actions released this 27 Oct 06:10
d125bb1

fast-agent lets Claude Opus 5.5, Sonnet 5.5 and other image-reading models see images

fast-agent decides from its own model table whether a model reads images: whether to offer its attach_media tool, and whether to keep an image in a message. A model its table doesn't know counts as text only. That covered 65 of the model ids HarnessRouter sends: most Claude models, Claude Opus 5.5 and Sonnet 5.5 among them, and several Gemini, Grok, Qwen, Mistral and DeepSeek models whose providers take images. So those models on fast-agent were never offered attach_media and never saw an image, and a deck they made was worse for it. One answer said "attach_media tool is disabled in this environment", and models later in the same conversation repeated it.

The runner now tells fast-agent what each turn's model reads, wherever fast-agent's own table says otherwise. Claude is offered attach_media on its first turn and after a switch from another model. A text-only model is still offered none.

A conversation with images no longer breaks a switch to a text-only model or one with an image limit

An agent that renders and looks at its slides keeps every look in the conversation, and the whole conversation goes to the model on every call. After nine looks, a switch to qwen3.7-max failed with "Unexpected item type in content", and a switch to mistral-medium-3.5 failed with "Total number of images exceeds the maximum allowed of 8". Every turn after that failed the same way.

Each call now carries only the images the model takes, the most recent ones, and every image left out is replaced by a line that says so. A text-only model gets none, and Mistral models get their eight. When a provider refuses a request's images and states its limit, HarnessRouter keeps that limit for the model and sends the call again within it.

Full Changelog: v0.37.4...v0.37.5