Skip to content

feat(agent): slim deepseek-v4 bake-in via existing prompt seams - #1375

Merged
TheGreatAxios merged 3 commits into
mainfrom
cl-10242-slim-deepseek-v4-bake-in-on-seams
Oct 9, 2026
Merged

TheGreatAxios merged 3 commits into
mainfrom
cl-10242-slim-deepseek-v4-bake-in-on-seams

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Bakes the winning d1+slim config for the deepseek-v4 family into the existing promptResidual + role-body seams keyed on the deepseek-v4 family, with a coder low pin. No bespoke DSV4 policy scaffolding. Removes the now-unneeded CORBITS_EXP_* experiment hooks from the tree.

Verification

  • 79 tests green.
  • deepseek-v4 runs use the baked-in d1+slim director bodies with coder pinned low by default; other families unchanged.
  • No CORBITS_EXP_* env vars remain in the tree.

Fixes CL-10242

Lift the DeepSeek V4 wire quirks out of the generic openai-compatible
adapter into a bifrost-style deepseek-v4 adapter, registered in the
AdapterManifest and selected by a deepseek-v4 provider id stamped on
the source for /^deepseek-v4/i models. Removes the V4 branch from the
generic adapter, keeping the pre-V4 reasoning_content strip and the NIM
null-delta patch. Relocates the V4 effort/settings tests.
DeepSeek V4 runs use the winning d1+slim config through the existing
promptResidual and role-body override seams, dropping the superseded
CORBITS_EXP_* / DSV4_* policy scaffolding:

- model-family-policy: a deepseek-v4 branch (broad /^deepseek-v4/i family
  in provider-family) resolving dispatcher d1 residual, explorer g2 leaf
  residual, and slim coder/reviewer role bodies via the new leafRoleBody
  field.
- run.ts: feeds the policy's leafRoleBody into the extensions list in
  place of the stock director body, threading directorId through.
- agent-fleet: pins the deepseek-v4 coder leaf effort low unless the
  profile explicitly pins effort.
@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

CL-10242

@TheGreatAxios
TheGreatAxios marked this pull request as ready for review October 9, 2026 06:05
@TheGreatAxios
TheGreatAxios merged commit 4b34a20 into main Oct 9, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant