Skip to content

fix(engy): point deepseek-v4.1-flash-1017 at its own lab entry - #10407

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
roykollensvendsen:engy-1017-base
Oct 19, 2026
Merged

rekram1-node merged 1 commit into
anomalyco:devfrom
roykollensvendsen:engy-1017-base

Conversation

@roykollensvendsen

@roykollensvendsen roykollensvendsen commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

providers/engy/models/deepseek-v4.1-flash-1017.toml was authored from #10249 (via #10252) on 2026-10-17 at 19:19 UTC. The lab entry for that exact id (models/deepseek/deepseek-v4.1-flash-1017.toml, #10223) landed about six hours later, so the file pointed at deepseek/deepseek-v4.1-flash and inherited V4.1 Flash's name, release date and benchmarks. 25 other *1017* provider files point at the 1017 entry; engy's was the only one left behind.

Changes

  • deepseek-v4.1-flash-1017.toml: base_model = "deepseek/deepseek-v4.1-flash-1017". Resolved, the name is now "DeepSeek V4.1 Flash 1017" with release date 2026-10-17. Cost, limits, [interleaved] and reasoning_options are unchanged, and the header now records a live check of the toggle and effort on this id. The header keeps 5 lines but loses its ~500-character source line, and it says plainly that the input/output split is carried from the sibling.
  • sync.md → engy Notes: when a [missing-model] issue for engy is authored, take the split from the authenticated list, say so in the header if the id is absent there, and point base_model at the exact lab entry (add it if missing). An authored base_model wins over the resolver, which itself already maps this id to the 1017 entry, so a sibling pointer is never corrected later.

Why the split is carried, not measured

engy's authenticated https://engy.ai/api/v1/models (read 2026-10-19, x-engy-version: 0.3.20) has no row for deepseek-v4.1-flash-1017. A request cannot settle it either: max_tokens = 65537 succeeds on both this id and the sibling, whose listed cap is 65,536, so an over-cap request is not rejected. The public list gives the same context (1,048,576) and price as the sibling, so the sibling's 983,040 / 65,536 split is the best available value, and the header says where it comes from.

What engy could change

models.dev's sync and its issue-fixing agent can only read engy's public https://api.engy.ai/v1/models. They have no engy login: the agent that wrote #10252 got a 401 from the authenticated list. The public list gives each model's total context_length but not how it divides into input and output, so a new engy model always needs someone with an engy account to fill that in.

  1. Best: publish max_input_tokens and max_output_tokens in the public list, under the same names the authenticated list already uses. With both fields there, the sync can create a complete file for a new engy model by itself, typically within the hour. Nobody would need to log in or guess.
  2. At least: keep the authenticated list in step with the public one. Today deepseek-v4.1-flash-1017 is in the public list but not the authenticated one, and MiniMax-H3 is in the authenticated list but not the public one. This alone doesn't let the sync automate anything, but it lets a person with an engy account check the split instead of copying it from a sibling.

Test plan

  • Live on engy 2026-10-19, n=4 per arm: no reasoning_content by default or with chat_template_kwargs.thinking = false (0/8), a trace on every thinking = true call, and reasoning_effort = max longer than low (median 150 vs 46 reasoning tokens). The toggle and effort set copied from the sibling hold for this id.

  • bun validate passes, and the resolved entry reads DeepSeek V4.1 Flash 1017, 2026-10-17, context 1,048,576 / input 983,040 / output 65,536, text+image → text.

  • bun test packages/core/test/engy.test.ts: 25 pass.

  • bun models:sync engy --dry-run: 0 created, 0 updated, 0 removed, 9 unchanged.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

No actionable findings.

@github-actions github-actions Bot added the reviewer: ready Automated review found no actionable items label Oct 19, 2026
@github-actions github-actions Bot removed the reviewer: ready Automated review found no actionable items label Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

No actionable findings.

@github-actions github-actions Bot added the reviewer: ready Automated review found no actionable items label Oct 19, 2026
anomalyco#10252 (from issue anomalyco#10249) added the file about six hours before
models/deepseek/deepseek-v4.1-flash-1017.toml landed in anomalyco#10223, so it
pointed at deepseek/deepseek-v4.1-flash and inherited V4.1 Flash's
name, dates and benchmarks. An authored base_model wins over the sync
resolver, so the sync would never have corrected it.

The header now records a live check on this id (2026-10-19, n=4 per
arm): thinking=false and the default give no trace, thinking=true
always does, and max reasons longer than low. The input/output split
is still carried from the sibling, because engy's authenticated list
omits this id.

The engy notes in sync.md now say where a new model's split comes
from, that an over-cap max_tokens is accepted and so cannot confirm
it, and to point base_model at the exact lab entry, not a sibling.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@github-actions github-actions Bot removed the reviewer: ready Automated review found no actionable items label Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

No actionable findings.

@github-actions github-actions Bot added the reviewer: ready Automated review found no actionable items label Oct 19, 2026
@rekram1-node
rekram1-node enabled auto-merge (squash) October 19, 2026 16:10
@rekram1-node
rekram1-node disabled auto-merge October 19, 2026 16:11
@rekram1-node
rekram1-node merged commit 39d2558 into anomalyco:dev Oct 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewer: ready Automated review found no actionable items

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants