Repository navigation
feat: register deepseek-v4.1-flash as a verified model - #4940
Conversation
Adds deepseek-v4.1-flash to the SDK's verified-model tables so it is offered by self-hosted deployments and so the enterprise SaaS default (canonical id `openhands/deepseek-v4.1-flash`) resolves correctly. deepseek-v4.1-flash is dual-mode (thinking/non-thinking) and uses the same default feature settings as deepseek-v4-flash. - verified_models.py: add to VERIFIED_DEEPSEEK_MODELS and VERIFIED_OPENHANDS_MODELS (kept alongside deepseek-v4-flash and deepseek-v4-flash-vision-exp). - model_features.py: add to SEND_REASONING_CONTENT_MODELS as `deepseek/deepseek-v4.1-flash` (dual-mode). This is the SDK half of a coordinated cross-repo release that promotes deepseek-v4.1-flash to the OpenHands Cloud default model. Co-authored-by: openhands <openhands@all-hands.dev>
|
👋 This PR needs a couple of things fixed before OpenHands can review it:
Push an update once this is addressed and this check re-runs automatically. This is an automated check - no AI was used to generate this comment. |
Python API breakage checks — ✅ PASSEDResult: ✅ PASSED |
REST API breakage checks (OpenAPI) — ✅ PASSEDResult: ✅ PASSED |
|
🤖 OpenHands is reviewing this PR. Head commit: This comment was posted by an AI agent (OpenHands). |
|
This comment was posted by an AI agent (OpenHands). |
|
@OpenHands fix merge conflicts |
|
I'm on it! simonrosenberg can track my progress at all-hands.dev |
Resolve the verified model list conflict by retaining DeepSeek v4.1 Flash alongside the newer main-branch entries. Co-authored-by: openhands <openhands@all-hands.dev>
|
Merge conflicts are resolved in a6766c9. I merged current This comment was created by an AI agent (OpenHands) on behalf of the user. |
|
Resolved and pushed the merge conflicts for PR #4940.
CI currently has no failures: 20 successful, 2 skipped, and 22 pending checks. |
HUMAN:
Promote deepseek-v4.1-flash to the default model; the SDK needs to register it as verified.
AGENT:
Why
deepseek-v4.1-flashis out and should become the OpenHands Cloud default model, replacingdeepseek-v4-flash. The SDK is the single source of truth for the verified OpenHands model list and bare-name→provider mapping, so it must register the new model before the enterprise SaaS default (openhands/deepseek-v4.1-flash) can resolve. This is the SDK half of a coordinated cross-repo release (enterprise migration OpenHands/enterprise#348, frontend OpenHands/OpenHands#17259, saas-deploy OpenHands/saas-deploy#985/#986).Summary
deepseek-v4.1-flashtoVERIFIED_DEEPSEEK_MODELSandVERIFIED_OPENHANDS_MODELS(kept alongsidedeepseek-v4-flashanddeepseek-v4-flash-vision-exp).deepseek/deepseek-v4.1-flashtoSEND_REASONING_CONTENT_MODELS(dual-mode thinking/non-thinking, same default feature settings asdeepseek-v4-flash).Issue Number
Fixes #4941
How to Test
Expected output:
Ran locally: module imports cleanly and all three assertions print
True. The priordeepseek-v4-flashanddeepseek-v4-flash-vision-expentries are retained frommain.Type
Notes
deepseek-v4.1-flashis dual-mode (thinking/non-thinking) and mirrorsdeepseek-v4-flash's feature entries. Merge this first so the enterprise SaaS can consume the new verified-model set.This PR was created by an AI agent (OpenHands) on behalf of @juanmichelini.
🐳 Agent Server images for this PR — GHCR package, pull/run commands, and all pushed tags (click to expand)
• GHCR package: https://github.com/OpenHands/agent-sdk/pkgs/container/agent-server
Variants & Base Images
eclipse-temurin:17-jdkpython-node-runtimepython-node-runtimepython-node-runtimegolang:1.21-bookwormPull (multi-arch manifest)
# Each variant is a multi-arch manifest supporting both amd64 and arm64 docker pull ghcr.io/openhands/agent-server:a6766c9-pythonRun
All tags pushed for this build
About Multi-Architecture Support
a6766c9-python) is a multi-arch manifest supporting both amd64 and arm64a6766c9-python-amd64) are also available if needed