Skip to content

feat(provider): add v4 effort ladder and wire mapping - #1364

Merged
TheGreatAxios merged 3 commits into
mainfrom
cl-10224-v4-effort-ladder-and-wire-mapping
Oct 9, 2026
Merged

TheGreatAxios merged 3 commits into
mainfrom
cl-10224-v4-effort-ladder-and-wire-mapping

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Adds the native DeepSeek V4 effort ladder (none/xhigh/max) and the isDeepSeekV4Model family predicate.
  • Wires V4 effort through the openai-compatible adapter: none drops reasoning_effort and toggles thinking off; xhigh/max pass through raw.
  • Defaults a V4 model's reasoning effort to max.
  • Keeps non-V4 models byte-identical (no effort mapping, no kwarg injection).

Verification

  • bun run check passes on this branch (8425 pass / 1 pre-existing environmental fail, matching the approved combined-tree baseline for the unrelated shell-guard cwd test).
  • src/provider/deepseek-v4-effort.test.ts, src/provider/reasoning-effort.test.ts, src/provider/openai-compatible-adapter.test.ts pass (117 pass / 0 fail).

Fixes CL-10224

@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

CL-10224

@TheGreatAxios
TheGreatAxios merged commit b69db53 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