Skip to content

[BUG] Thrown errors in chat with DeepSeek V4 Flash / Pro if the agent system tries to send images to the deepseek api #1106

Description

@Ic33s

Describe the bug
Thrown errors in chat with DeepSeek V4 Flash / Pro if the agent system tries to send images to the deepseek api:

Date/time: 2026-08-03T13:41:09.554Z
Extension version: 3.74.0
Provider: deepseek
Model: deepseek-v4-flash

400
DeepSeek completion error: 400 Failed to deserialize the JSON body into the target type: messages[154]: unknown variant `image_url`, expected `text` at line 1 column 666600

To Reproduce
Steps to reproduce the behavior:

  1. Place some png images in your vs code workspace as examples.
  2. Ask a question related to this images. In my case there was some problem that the pngs where not correctly mapped to their plant uml file counterpart.
  3. The chat window shows that the images was read: 1.png (up to 1 lines)
  4. Than the error shows up as many times as pngs he wants to read.

What version of zoo are you running
Version: 3.74.0 (6c23a1c)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions