Skip to content

mohdel v1.4.0

Choose a tag to compare

@clbrge clbrge released this 23 Sep 04:25
· 114 commits to main since this release

Added

  • image message parts: { type: 'image', fileUri, mimeType } on user and
    tool messages, in-process and through the gate. An image part is rendered
    where it is written, between the text parts around it, and replays with the
    transcript. In a tool result it stays inside the result on Anthropic and
    OpenAI; elsewhere the images of a run of tool results go in one user message
    after it. Parts follow the same URI schemes and local-media rules as images.
  • npm run test:vision:catalog sends a small image to every image-capable
    catalog model and prints a pass/fail table.

Changed

  • An images entry or image part missing fileUri or mimeType fails the
    call with SESSION_INVALID_IMAGE instead of being skipped.
  • An image part on a system or assistant message fails the call with
    SESSION_INVALID_IMAGE.
  • Cerebras refuses https:// images with SESSION_INVALID_IMAGE before
    dispatch.

Fixed

  • file:// images on the chat-completions adapters (Cerebras, DeepSeek,
    Fireworks, Groq, local, Mistral, Novita, OpenRouter, Qwen, Xiaomi) were sent
    to the provider as the literal URI. They are now read under the local-media
    rules and sent as data URIs.
  • A reasoning part in a message without tool calls no longer fails the call on
    Anthropic, OpenAI, xAI and Gemini. Those adapters leave it out.