Skip to content

Strip broken thinking blocks from Anthropic requests - #48548

Merged
mikayla-maki merged 6 commits into
mainfrom
fix-broken-thought-blocks
Feb 7, 2026
Merged

Strip broken thinking blocks from Anthropic requests#48548
mikayla-maki merged 6 commits into
mainfrom
fix-broken-thought-blocks

Conversation

@mikayla-maki

@mikayla-maki mikayla-maki commented Feb 6, 2026

Copy link
Copy Markdown
Member

Release Notes:

  • Fixed a bug where cancelling a thread mid-thought would cause further anthropic requests to fail
  • Fixed a bug where the model configured on a thread would not be persisted alongside that thread

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Feb 6, 2026
@mikayla-maki mikayla-maki changed the title WIP: Strip broken thinking blocks from anthropic requests Strip broken thinking blocks from anthropic requests Feb 6, 2026
@maxdeviant maxdeviant changed the title Strip broken thinking blocks from anthropic requests Strip broken thinking blocks from Anthropic requests Feb 6, 2026
@zelenenka zelenenka added the staff Pull requests authored by a current member of Zed staff label Feb 6, 2026
@mikayla-maki
mikayla-maki marked this pull request as ready for review February 6, 2026 21:44
@mikayla-maki
mikayla-maki force-pushed the fix-broken-thought-blocks branch from f7b28d0 to e197884 Compare February 7, 2026 04:06
@mikayla-maki
mikayla-maki enabled auto-merge (squash) February 7, 2026 04:11
@mikayla-maki
mikayla-maki merged commit 8529406 into main Feb 7, 2026
31 checks passed
@mikayla-maki
mikayla-maki deleted the fix-broken-thought-blocks branch February 7, 2026 04:21
baldwindavid added a commit to baldwindavid/zed that referenced this pull request Feb 9, 2026
* main: (57 commits)
  agent: Fix disabled MCP servers disappearing from UI after restart (zed-industries#47758)
  Update Rust crate git2 to v0.20.4 [SECURITY] (zed-industries#48400)
  Update Rust crate time to v0.3.47 [SECURITY] (zed-industries#48514)
  gpui: Reset `external_files_dragged` after successful drag-drop on macOS (zed-industries#48727)
  language: Return early if no grammars are added (zed-industries#48685)
  Properly handle multi-char folds (zed-industries#48721)
  collab: Proxy `GET /extensions` to Cloud (zed-industries#48717)
  git: Fix a potential misalignment in the side-by-side diff (zed-industries#48690)
  Move extension API DTOs into `cloud_api_types` (zed-industries#48689)
  git: Add a setting for the default view mode of `SplittableEditor` (zed-industries#48440)
  Use proper settings name for semantic tokens' settings UI (zed-industries#48686)
  gpui: Fix restarting panicking due to double borrows on windows (zed-industries#48667)
  Strip broken thinking blocks from Anthropic requests (zed-industries#48548)
  keymap_editor: Add `alt-l` keybinding for cycling favorite models (zed-industries#48390)
  Only raise Windows timer resolution while blocking with timeout (zed-industries#48379)
  editor: Propagate `buffer_font_features` to signatureHelp popover (zed-industries#48653)
  Add configurable LSP timeout setting (zed-industries#44745)
  editor: Use buffer_font for folds and change foreground color (zed-industries#48652)
  lsp: Update root_path for compatibility with language servers (zed-industries#48587)
  Fix panic with LSP folds on disappearing excerpts (zed-industries#48649)
  ...
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…48548)

TODO:

- [x] Review code
- [x] Decide whether to keep ignored API tests

Release Notes:

- Fixed a bug where cancelling a thread mid-thought would cause further
anthropic requests to fail
- Fixed a bug where the model configured on a thread would not be
persisted alongside that thread
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…48548)

TODO:

- [x] Review code
- [x] Decide whether to keep ignored API tests

Release Notes:

- Fixed a bug where cancelling a thread mid-thought would cause further
anthropic requests to fail
- Fixed a bug where the model configured on a thread would not be
persisted alongside that thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants