fix: deepseek-v4-flash reasoning_options omit low, which the API accepts and honors - #3963
Open
github-actions[bot] wants to merge 1 commit into
Open
fix: deepseek-v4-flash reasoning_options omit low, which the API accepts and honors#3963github-actions[bot] wants to merge 1 commit into
deepseek-v4-flash reasoning_options omit low, which the API accepts and honors#3963github-actions[bot] wants to merge 1 commit into
Conversation
…accepts and honors
|
Hi! Quick question on the trigger for this fix — was the I'm maintaining a Korean dev community cost-optimization guide for DeepSeek models, so getting the Thanks for the great work on |
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.
Summary
deepseek-v4-flashdocuments a distinctreasoning_effort=lowlevel (maps tolowon Flash), but several catalog entries only listedhigh/max. That hid the only effort value that differs meaningfully from the default on Flash. Effort values are now["low", "high", "max"]on the first-party DeepSeek entry and the opencode / opencode-go Flash hosts.Changes
providers/deepseek/models/deepseek-v4-flash.tomlreasoning_optionseffort["high", "max"]["low", "high", "max"]providers/opencode-go/models/deepseek-v4-flash.tomlreasoning_optionseffort["high", "max"]["low", "high", "max"]providers/opencode/models/deepseek-v4-flash.tomlreasoning_optionseffort["high", "max"]["low", "high", "max"]providers/opencode/models/deepseek-v4-flash-free.tomlreasoning_optionseffort["high", "max"]["low", "high", "max"]providers/deepseek/provider.tomlLeft unchanged:
deepseek-v4-proremainshigh/max(docs map Prolow→high). Did not addxhigh(Flash maps it tohigh) ormedium(not a native OpenAI-format effort for this model).Evidence
low/high/max; default effort ishigh. Mapping table: Flashlow→low,high→high,xhigh→high,max→max; Prolow→high.deepseek-v4-flashreasoning_options omitlow, which the API accepts and honors #3962 — opencode-go deserializer acceptslow; measured reasoning-token means showlow≈ 879 vs default/high≈ 2540–2580 through the go gateway.Validation
bun validateor live API calls in this environment.Review notes
high/maxonly; left alone without per-host verification.opencode/opencode-goshapes kept as-is (toggle only where already present); only the effort list changed.high/maxin places; that text was not edited (catalog-only change).Closes #3962
Automated by the issue fixer: https://github.com/anomalyco/models.dev/actions/runs/30759490163