You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: register deepseek-v4.1-flash as a verified model #4941
Promote deepseek-v4.1-flash to the managed default OpenHands Cloud model, replacing deepseek-v4-flash. This requires registering the new model in the SDK's verified-model tables so it is offered by self-hosted deployments and so the enterprise SaaS default (openhands/deepseek-v4.1-flash) resolves correctly.
Desired Behavior
The SDK's verified-model tables include deepseek-v4.1-flash so that:
self-hosted deployments offer it in the openhands/… model list, and
the enterprise SaaS default model openhands/deepseek-v4.1-flash resolves to a verified entry.
deepseek-v4.1-flash is dual-mode (thinking/non-thinking) and should use the same default feature settings as deepseek-v4-flash.
Acceptance Criteria
deepseek-v4.1-flash is present in VERIFIED_DEEPSEEK_MODELS and VERIFIED_OPENHANDS_MODELS.
deepseek/deepseek-v4.1-flash is present in SEND_REASONING_CONTENT_MODELS (dual-mode).
Existing deepseek-v4-flash and deepseek-v4-flash-vision-exp entries are retained.
This is the SDK half of a coordinated cross-repo release (enterprise migration, frontend label, saas-deploy env).
This issue was created by an AI agent (OpenHands) on behalf of @juanmichelini.
Confirmed this as an observable reasoning-history loss in SDK 1.47.0, not only a missing verified-model entry. Adding the reproduction here because the existing acceptance criteria already cover this exact omission.
Our live DeepSeek v4.1 Flash author events contain nonempty reasoning_content, but LLM._model_features().send_reasoning_content resolves to False. Message.to_chat_dict() consequently leaves that field out of subsequent assistant messages. The evaluation proxy does not merge reasoning into normal content. The issue also reproduces without the proxy or any model calls.
Expected: True True for all four. The v4-specific strings in SEND_REASONING_CONTENT_MODELS do not match v4.1. The default branch still lacks the v4.1 entry when checked today.
Suggested regression coverage: verify the resolved feature and the serialized outgoing assistant message for direct, OpenRouter, and OpenAI-compatible proxy aliases. Existing v4 models should retain their behavior.
In the replay experiment, completed LLM requests account for 96–98% of measured completed LLM-plus-tool time, with many thousands of reasoning tokens per slow response. Losing prior reasoning is a plausible contributor to repeated thinking; we have not established causality or a speedup. We are testing a local registration workaround plus low reasoning, recorded as a combined change: https://github.com/OpenHands/dataset-utils/issues/81#issuecomment-5721040479.
Activity
github-actions commentedon Sep 10, 2026
✅
ready-for-devlabel appliedThis issue meets the readiness criteria and is ready for contribution.
A contributor can now open a PR that links this issue (
Fixes #<number>).This is an automated check — no AI was used to generate this comment.
simonrosenberg commentedon Sep 17, 2026
Confirmed this as an observable reasoning-history loss in SDK 1.47.0, not only a missing verified-model entry. Adding the reproduction here because the existing acceptance criteria already cover this exact omission.
Our live DeepSeek v4.1 Flash author events contain nonempty
reasoning_content, butLLM._model_features().send_reasoning_contentresolves toFalse.Message.to_chat_dict()consequently leaves that field out of subsequent assistant messages. The evaluation proxy does not merge reasoning into normal content. The issue also reproduces without the proxy or any model calls.Actual output:
Expected:
True Truefor all four. The v4-specific strings inSEND_REASONING_CONTENT_MODELSdo not matchv4.1. The default branch still lacks the v4.1 entry when checked today.Suggested regression coverage: verify the resolved feature and the serialized outgoing assistant message for direct, OpenRouter, and OpenAI-compatible proxy aliases. Existing v4 models should retain their behavior.
In the replay experiment, completed LLM requests account for 96–98% of measured completed LLM-plus-tool time, with many thousands of reasoning tokens per slow response. Losing prior reasoning is a plausible contributor to repeated thinking; we have not established causality or a speedup. We are testing a local registration workaround plus low reasoning, recorded as a combined change: https://github.com/OpenHands/dataset-utils/issues/81#issuecomment-5721040479.