Commit Graph
1 Commits
Author SHA1 Message Date
yetone aa44cc3edb zed 0.1.17: an Anthropic thinking.display Zed has no variant for is left out (#708)
gogoing1024 (#708): claude-sonnet-5-5 from Claude Code at max effort
was answered 400 "Zed: failed to parse Anthropic request: unknown
variant `updates`, expected `omitted` or `summarized`". Claude Code
asks its newest models for thinking.display "updates"; Zed's cloud
parses display into an enum with only omitted and summarized.

providerRequest now sends "highlights" as summarized (the thinking
still shown) and leaves any other value beyond omitted/summarized out,
the same rule magpie's gateway applies to relays (withDisplay in
internal/gateway/anthropic_shapes.go). Adaptive and budgeted thinking
alike; summarized and omitted go as written.

Run at this head (mote, via mote-run):
- bun test in packages/zed: 71 pass, 0 fail (11 files)
- bun scripts/check.mjs: exit 0
Broken by hand: thinking-display.test.mjs against the old index.mjs,
3 of 5 red (updates, highlights, budgeted updates).
Not tried: a real Zed account; the fix is from the reporter's 400
text and the request shape Claude Code writes.
2026-11-04 14:45:23 +08:00