You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Repo lockfile pins @anthropic-ai/claude-agent-sdk 0.2.105; consult's claude lane gets API 400 on claude-opus-5 in local dev builds #1906
In a build from this repo (builder worktrees, local dev), consult's claude lane fails against claude-opus-5 with API 400: "thinking.type.enabled" is not supported for this model (use adaptive). The released/installed consult works. Reported independently by two builders (bugfix-1898, bugfix-1902), who both worked around it by running the claude lane through the installed consult.
Root cause (as reported, to be verified)
packages/codev/package.json declares @anthropic-ai/claude-agent-sdk^0.2.41, and pnpm-lock.yaml resolves it to 0.2.105. A fresh npm i -g resolves a newer version (0.2.141 observed), which sends the thinking configuration the model accepts. So the lockfile build and the published install behave differently.
Why it matters
Builders dogfooding a branch's own consult cannot run the claude lane.
Possible release blocker: confirm what the release packaging actually ships. If a release is built from the lockfile, or an adopter's lockfile holds an old resolution, the claude lane breaks for them.
Fix
Raise the declared floor to a version known to work with claude-opus-5, refresh the lockfile, and verify the claude lane end to end from a worktree build. Check whether consult sets the thinking option itself anywhere and whether that should change.
Testing
Run consult -m claude from a worktree build against claude-opus-5 and confirm a review comes back. Confirm the subscription/API-key auth path is unchanged.
Superseded by issue #1912 (run the claude lane through the installed claude CLI). PR #1907 closed unmerged on the owner's ruling. Until #1912 lands, repo builds still hit this; run the claude lane through the installed consult.
Final note: the change that superseded this has landed. Issue #1912 (run consult's claude lane through the installed claude CLI instead of the Agent SDK) merged as PR #1913 and was verified live on 2026-11-23, with follow-ups in PR #1942. Repo builds no longer depend on the pinned @anthropic-ai/claude-agent-sdk version for the claude lane, so the API 400 described here cannot occur on that path. PR #1907 (raising the SDK floor) stays closed unmerged; its branch builder/bugfix-1906 is kept for reference.
Activity
waleedkadous commentedon Nov 16, 2026
On it! Working on a fix now.
Fix #1906: raise claude-agent-sdk floor to ^0.2.141
[Bugfix #1906] Thread: PR and CMAP results
[Bugfix #1906] Log the Agent SDK version on the claude lane
waleedkadous commentedon Nov 17, 2026
Superseded by issue #1912 (run the claude lane through the installed claude CLI). PR #1907 closed unmerged on the owner's ruling. Until #1912 lands, repo builds still hit this; run the claude lane through the installed consult.
[Bugfix #1906] Thread: closed, superseded by #1912; reboot checkpoint
waleedkadous commentedon Nov 24, 2026
Final note: the change that superseded this has landed. Issue #1912 (run consult's claude lane through the installed
claudeCLI instead of the Agent SDK) merged as PR #1913 and was verified live on 2026-11-23, with follow-ups in PR #1942. Repo builds no longer depend on the pinned@anthropic-ai/claude-agent-sdkversion for the claude lane, so the API 400 described here cannot occur on that path. PR #1907 (raising the SDK floor) stays closed unmerged; its branchbuilder/bugfix-1906is kept for reference.