Skip to content

feat: enable image support for DeepSeek V4 models#963

Merged
taltas merged 1 commit into
Zoo-Code-Org:mainfrom
grizmin:feat/deepseek-v4-image-support
Jul 21, 2026
Merged

feat: enable image support for DeepSeek V4 models#963
taltas merged 1 commit into
Zoo-Code-Org:mainfrom
grizmin:feat/deepseek-v4-image-support

Conversation

@grizmin

@grizmin grizmin commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

DeepSeek V4 Pro and V4 Flash support image inputs via their OpenAI-compatible API, but the model definitions had supportsImages: false. This change flips it to true for both models, enabling users to attach images when using these models.

Related GitHub Issue

Closes: #964

Description

Test Procedure

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and/or updated tests have been added to cover my changes (if applicable).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

Documentation Updates

Additional Notes

Get in Touch

Summary by CodeRabbit

  • New Features

    • Enabled image support for the DeepSeek V4 Flash and V4 Pro models.
  • Tests

    • Added coverage confirming image support is correctly reported for both DeepSeek models.

DeepSeek V4 Pro and V4 Flash support image inputs via their OpenAI-compatible
API, but the model definitions had supportsImages: false. This change flips it
to true for both models, enabling users to attach images when using these models.
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

DeepSeek V4 Flash and V4 Pro now advertise image support through their capability metadata. Tests for the default Flash model and explicit Pro model verify the updated supportsImages value.

Changes

DeepSeek image capability

Layer / File(s) Summary
Model capability and validation
packages/types/src/providers/deepseek.ts, src/api/providers/__tests__/deepseek.spec.ts
DeepSeek V4 Flash and Pro now set supportsImages to true, with matching getModel assertions.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: taltas

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is concise and accurately summarizes the main change: enabling image support for DeepSeek V4 models.
Description check ✅ Passed The PR description includes the required issue link and change summary, but the Test Procedure section is empty and should be filled in.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions github-actions Bot added the awaiting-review PR changes are ready and waiting for maintainer re-review label Jul 20, 2026
@taltas
taltas added this pull request to the merge queue Jul 21, 2026
Merged via the queue into Zoo-Code-Org:main with commit b132a6b Jul 21, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR changes are ready and waiting for maintainer re-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] DeepSeek V4 models report supportsImages: false despite API support

2 participants