feat(ollama-cloud): add deepseek-v4-flash:0731 model - #3985
Merged
rekram1-node merged 1 commit intoAug 3, 2026
Merged
Conversation
Contributor
Action items
|
renaudcerrato
force-pushed
the
add-ollama-cloud-deepseek-v4-flash-0731
branch
from
August 3, 2026 13:18
d19ffa7 to
79e0d97
Compare
Contributor
Author
|
Addressed the toggle wire-path comment: added a leading top-of-file comment block documenting the native |
Contributor
|
No actionable findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Ollama Cloud has been serving
deepseek-v4-flash:0731since 2026-07-31 (the 0731 snapshot of DeepSeek V4 Flash, with enhanced agentic capabilities and integrated DSpark speculative decoding). The lab metadata already exists ondevat deepseek-v4-flash-0731.toml; this PR adds the missing provider entry so the model surfaces underollama-cloudin the generated catalog.Confirmed live on the Ollama Cloud API:
What changed
providers/ollama-cloud/models/deepseek-v4-flash:0731.toml, abase_model-factored provider entry that inherits provider-agnostic facts from the existing lab metadata and only declares host-specific overrides.Critical Changes
ollama-cloud:deepseek-v4-flash:0731now resolves in the generated catalog withlimit.context = 1_048_576/limit.output = 1_048_576andreasoning_optionsoftoggle+effort: ["high", "max"].base_model = "deepseek/deepseek-v4-flash-0731"and restates onlyreasoning_optionsand[limit](real deltas vs. the lab's 1M/384K limits).name,description,family, dates, capabilities, modalities,open_weights,license,weights, andbenchmarksare inherited from the lab entry.toggle+effort: ["high", "max"]matches the DeepSeek V4 family on this provider (see deepseek-v4-flash.toml and deepseek-v4-pro.toml) and the AGENTS.md DeepSeek V4 guidance (toggle+high/max, not L/M/H).1_000_000is a rounded figure; Ollama Cloud's/api/showexposes the realdeepseek4.context_length = 1_048_576.output = contextfollows the established ollama-cloud convention (feat(ollama-cloud): add deepseek-v4-flash model #1586).Expected behavior
bun validatepasses (exit 0).id:deepseek-v4-flash:0731name:DeepSeek V4 Flash 0731(inherited from lab)limit:{ context: 1048576, output: 1048576 }reasoning_options:[{ type: "toggle" }, { type: "effort", values: ["high", "max"] }]models/deepseek/deepseek-v4-flash-0731.toml.Relationship to #3976
#3976 covers the same model. This PR fixes three issues in that one:
deepseek-v4-flash:0731-cloud.toml(and overridesnameto the same string). The Ollama Cloud API exposesdeepseek-v4-flash:0731— both/api/tagsand/v1/models— with no-cloud/:cloudsuffix. The suffixed form has been a recurring source of 400/404 errors in downstream consumers (e.g. NousResearch/hermes-agent#16179).nameinherited, not restated. Per AGENTS.md override-only,nameshould not be restated when it doesn't truly differ; if it does, it shouldn't be the raw ID. This PR inherits the lab's display name"DeepSeek V4 Flash 0731".reasoning_optionsmatch the DeepSeek V4 siblings. AGENTS.md specifiestoggle+high/maxfor DeepSeek V4 (nonone). The existingdeepseek-v4-flash.tomlanddeepseek-v4-pro.tomlboth use[{ toggle }, { effort: ["high","max"] }]. feat(ollama-cloud): add deepseek-v4-flash:0731-cloud #3976 dropstoggleand addsnone, which contradicts both the policy and the sibling pattern on the same provider.