Skip to content

[NO-JIRA] Request summarized thinking from Claude models (backport of upstream #13029) - #19

Merged
johnnymo87 merged 2 commits into
patched/v1.54.0from
thinking-summarized
Nov 21, 2026
Merged

johnnymo87 merged 2 commits into
patched/v1.54.0from
thinking-summarized

Conversation

@johnnymo87

Copy link
Copy Markdown
Owner

Description

goose sent thinking: {type: "adaptive"} with no display field. Newer Claude models such as claude-opus-5-5 default to display: "omitted", so goose stored thinking blocks that had a signature but no text: 1418 of 1418 claude-opus-5-5 blocks on cloudbox over the last 3 days. honk (and any ACP client) therefore showed thinking… 1 lines with nothing in it. opencode already asks for summaries.

  • Backport: upstream e970eea8a, "fix(providers): request summarized thinking from Claude models" (fix(providers): request summarized thinking from Claude models aaif-goose/goose#13029, released in v1.57.0). It cherry-picks cleanly with -x. For Claude model names, it adds display: "summarized" to any thinking that isn't disabled, on the shared Anthropic formatter (native anthropic, gcp_vertex_ai Claude, custom Anthropic-format providers), databricks, databricks_v2 and bedrock. Other models that share the format (muse_code, zai, kimi) are unchanged.
  • Fork tests: they pin the gcp_vertex_ai request for claude-opus-5-5 (adaptive with summarized display, and effort still high); show that summarized thinking text streams in and is replayed on the next request with its signature; and show that the native provider's thinking object carries display and block_binding together. The patched-release workflow's test step now runs them.

Verified live on cloudbox, against Vertex claude-opus-5-5 through the cfp proxy:

Port to v1.60.2: the upstream commit is already in v1.60.2, so the port drops 87cf756b5. The test commit applies as-is: create_anthropic_request, collect_stream, native() and the upstream tests it builds on all exist at v1.60.2.

References

wpfleger96 and others added 2 commits November 21, 2026 11:44
…goose#13029)

Signed-off-by: Hayt <211b96e6a2b7f45fd4047988976c7bbbeeda0c15f3ae7b32eec20834b5a55118@buzz.block.builderlab.xyz>
Co-authored-by: Hayt <211b96e6a2b7f45fd4047988976c7bbbeeda0c15f3ae7b32eec20834b5a55118@buzz.block.builderlab.xyz>
Co-authored-by: Lifei Zhou <lifei@squareup.com>
(cherry picked from commit e970eea)
…nd trip, and its coexistence with block_binding

The backported upstream fix is gated on the model name; these pin the
gcp_vertex_ai request shape for claude-opus-5-5, the replay of summarized
thinking text with its signature, and the native provider's thinking object
carrying display and block_binding together. CI's patched-module step runs them.
@johnnymo87
johnnymo87 merged commit 47c99a8 into patched/v1.54.0 Nov 21, 2026
5 checks passed
johnnymo87 added a commit to johnnymo87/workstation that referenced this pull request Nov 21, 2026
#### Description

- Bumps pkgs/goose to patched-1.54.0.17, which adds patch 24
(johnnymo87/goose#19). Claude requests now carry `thinking.display =
"summarized"`, a backport of upstream #13029.
- Without it, claude-opus-5-5 omits the thinking text, so goose stored
signature-only blocks and honk showed empty `thinking…` lines.
- There is no schema change. goose-serve has `X-RestartIfChanged=false`,
so it picks up the new binary only on a manual restart in a quiet
window, or at the nightly reset.
- All three asset hashes were prefetched from the release, and the
aarch64-linux package builds and passes its `--version` install check.

#### References

- workstation-6w7i.24; honk-9qf.34
- johnnymo87/goose#19
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.

2 participants