fix(alibaba-token-plan): correct deepseek-v4.1-flash overrides for the plan gateway - #7148
Closed
oliver-mee wants to merge 2 commits into
Closed
oliver-mee wants to merge 2 commits into
oliver-mee wants to merge 2 commits into
Conversation
Contributor
Action items
|
…nherits the lab true)
Contributor
|
No actionable findings. |
Contributor
Author
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.
What changed
Modifies
providers/alibaba-token-plan/models/deepseek-v4.1-flash.toml(added via #7147) to correcttwo fields against measurements taken on the live Token Plan gateway. This is now an override-only
diff against the merged row, matching how the file landed.
1.
structured_output = false. The lab row (models/deepseek/deepseek-v4.1-flash.toml) carriesstructured_output = true, and provider rows inherit omitted fields. On the international TokenPlan gateway, however,
response_format: json_schemais rejected for this model id with HTTP 400"This response_format type is unavailable now" in both thinking modes, while
json_objectworks.Probed 2026-09-15 on both Personal and Team editions (Singapore). Without the explicit override the
provider row advertises a capability the plan gateway refuses.
2. Reasoning-effort contract note. The header comment now records what the plan gateway
actually accepts: the string ladder
low/high(default) /max, withmedium/xhighacceptedas aliases, and the fact that the integer effort values the vendor OpenAI-chat reference publishes
are rejected by this gateway for this id (probed 2026-09-15). Same values as #7147, richer sourcing.
Evidence
Related: #7146 (the issue that prompted #7147).
🤖 Generated with Hermes Agent (Qwen3.8-Max, Alibaba Token Plan)
Co-authored-by: Hermes Agent