Type
Bug
Problem / Value
DeepSeek V4 Pro and V4 Flash models incorrectly report supportsImages: false in their metadata, preventing users from attaching images even though the DeepSeek API natively supports image inputs via its OpenAI-compatible chat completions endpoint.
Context
Users selecting DeepSeek V4 Pro or V4 Flash as their model cannot send images to these models through Zoo Code's UI or CLI, despite DeepSeek's official documentation confirming vision capabilities for both models. This is a metadata misconfiguration - the message format conversion pipeline already handles image blocks correctly (via convertToOpenAiMessages), but the supportsImages flag gates image processing at multiple levels including the ReadFileTool, image validation, and mention resolution.
Reproduction
- Select DeepSeek V4 Pro or V4 Flash as the API provider model in Zoo Code settings
- Attempt to attach an image to a conversation (via @mention or file reading)
- Image processing is skipped with
unsupported_model error
- Expected: Images are sent to the model for vision-based responses
Context
- Affected models:
deepseek-v4-pro, deepseek-v4-flash
- Not affected:
deepseek-chat, deepseek-reasoner (legacy aliases that genuinely don't support vision)
- Root cause:
packages/types/src/providers/deepseek.ts has supportsImages: false for both V4 models (lines 15 and 29)
- DeepSeek API docs confirm image support: https://platform.deepseek.com/docs/api
Constraints/Preferences
- Legacy aliases (
deepseek-chat, deepseek-reasoner) should keep supportsImages: false as they're being deprecated (July 24, 2026) and don't support vision
Type
Bug
Problem / Value
DeepSeek V4 Pro and V4 Flash models incorrectly report
supportsImages: falsein their metadata, preventing users from attaching images even though the DeepSeek API natively supports image inputs via its OpenAI-compatible chat completions endpoint.Context
Users selecting DeepSeek V4 Pro or V4 Flash as their model cannot send images to these models through Zoo Code's UI or CLI, despite DeepSeek's official documentation confirming vision capabilities for both models. This is a metadata misconfiguration - the message format conversion pipeline already handles image blocks correctly (via
convertToOpenAiMessages), but thesupportsImagesflag gates image processing at multiple levels including the ReadFileTool, image validation, and mention resolution.Reproduction
unsupported_modelerrorContext
deepseek-v4-pro,deepseek-v4-flashdeepseek-chat,deepseek-reasoner(legacy aliases that genuinely don't support vision)packages/types/src/providers/deepseek.tshassupportsImages: falsefor both V4 models (lines 15 and 29)Constraints/Preferences
deepseek-chat,deepseek-reasoner) should keepsupportsImages: falseas they're being deprecated (July 24, 2026) and don't support vision