325e941
anthropic: Support alternative provider SSE formatting (#47847)
Click to expand commit body
The issue I ran into was that responses from anthropic compatible
providers, like Kimi for Coding, have no space after `data:`. This
change just adds a quick check to also allow for those providers to
work.
Before it just resolved but did not show any output:
<img width="50%" alt="CleanShot 2026-01-28 at 12 50 31@2x"
src="https://github.com/user-attachments/assets/c3c8fe27-348e-4b21-a5f1-25bcc82f3774"
width=50%/>
Now it returns the proper result:
<img width="50%" alt="CleanShot 2026-01-28 at 12 56 30@2x"
src="https://github.com/user-attachments/assets/4e524c1e-78ab-4956-bd65-a919d46adc59"
width=50%/>
Normal Anthropic models still work as expected:
<img width="50%" alt="CleanShot 2026-01-28 at 12 58 37@2x"
src="https://github.com/user-attachments/assets/5a2906aa-1183-45b6-939b-01a6830f3385"
/>
Config to test
```json
"language_models": {
"anthropic": {
"api_url": "https://api.kimi.com/coding",
"available_models": [
{
"name": "kimi-for-coding",
"display_name": "Kimi 2.5 Coding",
"max_tokens": 262144,
"max_output_tokens": 32768,
},
],
},
}
```
TLDR:
- Accepts SSE data:{...} lines (no space) emitted by some alternative
Anthropic providers, in addition to the standard data: {...} format.
Release Notes:
- Fixed Anthropic streaming for alternative providers by accepting SSE data:{...} (no space) lines.
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Raphael Lüthy
and
Ben Brandt
created
fb82b11
ep: Fix panic when switching to a non-store provider (#49698)
Click to expand commit body
The `unreachable()` assumption at `queue_prediction_refresh` could be
violated by an async race condition:
1. `request_prediction_internal` spawns an async task
2. The task awaits a prediction request
3. If the prediction returns `None`, it calls `queue_prediction_refresh`
4. Between the time the prediction was initiated (when the provider was
an EP-store provider) and when the async callback runs, the user can
change their edit prediction provider setting to a non-EP-store provider
5. `queue_prediction_refresh` re-reads the settings and hits the
`unreachable!()
Release Notes:
- N/A
Oleksiy Syvokon
created
ae9bb6a
repl: Add WSL and SSH remote kernel support (#47891)
Click to expand commit body
Closes #15196, #46918
- fix: notebook_ui, use buffer so that notebooks open in remote/WSL
settings.
- fix: add musl in nix for cross-compilation, without this remote server
doesn't build inside NixOS
Release Notes:
- Implement WSL and SSH remote kernels (crates/repl/src/kernels/*) and
wire up spawn/kill kernel proto messages and client requests.
MostlyK
created
7e4eb4f
agent_ui: Fix panic in load/copy thread to/from clipboard (#49694)
Closes #15947
This adds `repl:ClearCurrentOutput` and `repl:ClearOutputs` commands. No
keybindings are set for this. Just an action people can bind.
Release Notes:
- Added ability to clear outputs by action
Kyle Kelley
created
19404e4
repl: Support HTML outputs through `html_to_markdown` (#49646)
Click to expand commit body
Closes #15555
Adds a super basic render of html output from jupyter kernels.
<img width="1061" height="1207" alt="image"
src="https://github.com/user-attachments/assets/1bfb8c71-0e38-4bff-9f0c-bec12721232a"
/>
Obviously not as full featured as #48157
Release Notes:
- Added basic handling of HTML in REPL outputs
Kyle Kelley
created
3a00810
editor: Prevent comment extension on REPL separators (#48174)
Release Notes:
- N/A
The WASI-SDK is several hundred megabytes in size; using streaming
downloads is network-friendly and can reduce memory usage.
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Xiaobo Liu
created
8caebe6
git: Replace some unwraps with `expect` (#49683)
Click to expand commit body
Release Notes:
- N/A
Cole Miller
created
85ca795
ep_store: Don't handle project events for non-`EditPredictionStore` providers (#49678)
d896bf7
ep_cli: Don't filter rated predictions by Zed version (#49609)
Click to expand commit body
Closes #ISSUE
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Ben Kunkle
created
42202ed
Sign out upon receiving an Unauthorized response when acquiring an LLM token (#49673)
Click to expand commit body
This PR makes it so the user gets signed out upon receiving an
Unauthorized response when acquiring an LLM token.
This is a re-landing of #49661.
Closes CLO-324.
Release Notes:
- N/A
Marshall Bowers
created
ee636bc
git: Mitigate panic in split diff spacer calculation (#49674)
Fix regressions from https://github.com/zed-industries/zed/pull/49277:
- The fusion manifest was not being embedded for Zed.exe, making it
non-functional.
- The relative path used to load shaders in debug mode was incorrect.
Release Notes:
- N/A
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
John Tur
and
Marshall Bowers
created
bba415b
ci: Make filter script less error-prone (#49670)
Click to expand commit body
The failure in #49661 was caused by a broken pipe, which then led to
tests not being ran.
Co-authored-by: Marshall Bowers <marshall@zed.dev>
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- N/A
Co-authored-by: Marshall Bowers <marshall@zed.dev>
Piotr Osiewicz
and
Marshall Bowers
created
94b9628
Revert "Sign out upon receiving an Unauthorized response when acquiring an LLM token (#49661) (#49669)
Click to expand commit body
This PR reverts #49661, as the Collab tests are failing (but were not
caught in CI).
This reverts commit 2f9350bb6bc4abe10530fc42bb262493e1525bfb.
Release Notes:
- N/A
Marshall Bowers
created
2f9350b
Sign out upon receiving an Unauthorized response when acquiring an LLM token (#49661)
Click to expand commit body
This PR makes it so the user gets signed out upon receiving an
Unauthorized response when acquiring an LLM token.
Closes CLO-324.
Release Notes:
- N/A
Marshall Bowers
created
41c007f
Fix subagent card buttons getting clipped by long titles (#49648)
Click to expand commit body
When a subagent title is long, the header buttons (expand/collapse,
maximize, stop) were pushed out of view because the title area grew
unconstrained.
## Fix
- Add `min_w_0()` and `overflow_hidden()` to the title container so it
can shrink below its content width
- Add `truncate()` to the title label so it shows an ellipsis when
clipped
- Add `flex_shrink_0()` to the buttons container so it never gets
squeezed out
- Add a tooltip on the title area showing the full text on hover
Release Notes:
- N/A
Eric Holk
created
90d8c26
Fix visual test screenshot functionality (#49649)
Click to expand commit body
After #49277 was merged, all visual tests failed to run with the error
"FAILED - render_to_image not implemented for this platform".
Release Notes:
- N/A
claire
created
be26e1a
editor: Fix relative line numbering with deleted blocks present (#49656)
Click to expand commit body
This tackles another issue where we would incorrectly show two absolute
line numbers with relative line numbering enabled when it really should
only have been the current active line number.
Sadly, no tests rn for this as we would need a better test infra for
that to properly catch/test this bug. But with the refactored logic, I
think this is easier to understand at glance, so at least theres that
Release Notes:
- Fixed an issue with relative line numbers where some rows would be
missing their relative line number with deleted hunks showing.
Closes #ISSUE
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- N/A
Piotr Osiewicz
created
62af5b8
Allow using Zeta through an arbitrary OpenAI-compatible self-hosted API (#49554)
Click to expand commit body
Release Notes:
- Added the ability to use a self-hosted OpenAI-compatible server for
edit predictions.
---------
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
Max Brunsfeld
,
Ben Kunkle
, and
Zed Zippy
created
e07d0ba
Add telemetry for stack trace view (#49642)
Click to expand commit body
Release Notes:
- N/A
Cole Miller
created
04bdd17
Fix JS syntax error in docs_suggestions cherry-pick job (#49643)
Click to expand commit body
## Summary
Fixes the `SyntaxError: Unexpected identifier 'gemini'` error in the
cherry-pick documentation suggestions workflow.
## Problem
The 'Post suggestions as PR comment' step was directly interpolating
markdown content into a JavaScript template literal:
```javascript
const suggestions = `${{ steps.analyze.outputs.suggestions }}`;
```
When the suggestions contained backticks, `${}` sequences, or other
special characters (like the `gemini-3.1-pro-preview` model name in
markdown code blocks), it broke the JavaScript syntax.
## Solution
Write suggestions to a file in `$RUNNER_TEMP` and read it using
`fs.readFileSync()` in the script step. This avoids all GitHub Actions
template interpolation and JavaScript string parsing issues.
## Testing
This should fix the failed run:
https://github.com/zed-industries/zed/actions/runs/22194396124/job/64190762087
Release Notes:
- N/A
morgankrey
created
1e847c1
Fix panic involving growing and shrinking selections while buffer size changes (#48898)
Click to expand commit body
Repro steps:
1. Make a Rust file and check it in to git
2. Delete a lot of the file
3. Expand all the diffs (cmd+")
4. Select larger syntax node (ctrl+cmd+right)
5. Collapse all the diffs
6. Select smaller syntax node (ctrl+cmd+left)
7. Panic!
The problem was we were using byte offsets instead of anchors so after
we shrank the buffer by collapsing diffs we'd be pointing past the end
of it.
Release notes:
- N/A
Eric Holk
created
32f05ac
Add Gemini 3.1 Pro to model documentation (#49640)
Click to expand commit body
## Summary
- Added Gemini 3.1 Pro to the pricing table, context windows table, and
page metadata in `docs/src/ai/models.md`
- Listed alongside existing Gemini 3 Pro (both remain available)
Release Notes:
- N/A
Closes AI-48
Release Notes:
- Added support for Gemini 3.1 Pro
Richard Feldman
created
85c23d0
agent: Improve the subagent task structure (#49629)
Click to expand commit body
Removes tool filtering since this was throwing off certain models, and
also allows for more generic task prompts that don't always require
summaries. Since the models usually provide a wrap-up message, we don't
have to wait for another turn.
This also sets us up to allow the agent to re-interact with an existing
subagent thread.
Release Notes:
- N/A
---------
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Ben Brandt
and
Jakub Konka
created
bc31ad4
gpui: Extract gpui_platform out of gpui (#49277)
Click to expand commit body
#2874 on steroids
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- N/A
---------
Co-authored-by: Eric Holk <eric@zed.dev>
Piotr Osiewicz
and
Eric Holk
created
da7b8f2
Fix font weight in multiple elements (#49539)
Click to expand commit body
* Update the font weight used in the Agent Panel's editor to respect the
`buffer_font_weight` setting.
* Update the font weight used in the Command Palette to use the
`ui_font_weight` setting value, seeing as the command palette is using
the `ui_font` settings for the font family and features
* Update the font weight used in the popovers to match the
`buffer_font_weight`, as it's also using the buffer font family and
features
* Update the `LabelLike.buffer_font` method in order to correctly set
the font weight, which fixes the font weight used in the file header
when displaying a multibuffer editor
Release Notes:
- Fixed incorrect font weight in the Command Pallete input
- Fixed missing font weight the Agent Panel's buffer
- Fixed missing font weight the Hover Popover
- Fixed missing font weight in Markdown's code block and inline code
---------
Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
3bd1b0f
Temporarily disabling codeowners to resolve noisy routing (#49623)
Click to expand commit body
Just a procedural change to codeowners, no other items affected.
Release Notes:
- N/A
John D. Swanson
created
e8d4537
Revert "Enable type on search by default for the project search (#49374)" (#49619)
Click to expand commit body
This reverts commit 1d66bbe06f6e02008560064302c44a57ed4cff41.
Needs 2 more fixes:
* enter does not move to the first excerpt anymore
* there could be situations when a narrowed search does not decrease the
excerpt enough to see the result onscreen
Release Notes:
- N/A
Kirill Bulatov
created
8815573
buffer_search: Don’t hide UI icons if search query is too large (#49493)
Click to expand commit body
Remove tracking of editor width in buffer search, removing the behavior
where the UI icons used in the search bar would be hidden if the search
query need to fill the whole element's width.
Closes #49446.
Release Notes:
- Don’t hide UI icons in buffer search if search query is too large
Co-authored-by: dino <dinojoaocosta@gmail.com>
Kunall Banerjee
and
dino
created
712914a
go: split definition and call highlights for functions, methods, and types (#49120)
Click to expand commit body
This allows definitions to use a different highlight than function
calls.
Release Notes:
- go: Add definition highlights for functions, methods, and types
d8b3f47
Fix the panic when trying to interact with editor-like not-editors (#49608)
Click to expand commit body
For example, LSP log view is not a real editor but can pretend to be
one.
Release Notes:
- Fixed dev highlights view panicking when interacting with editor-like
not-editors
Kirill Bulatov
created
4efd07b
zlog: Broaden filter for usvg parser warnings (#49607)
Click to expand commit body
Noticed this while looking into #49595
Release Notes:
- N/A
Finn Evers
created
2a0a304
Seperate throttles for jump and edit based predictions (#49499)
Click to expand commit body
Closes #ISSUE
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- N/A *or* Added/Fixed/Improved ...
---------
Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
This PR adds the `AnnouncementToast` component that we can use whenever
a new version introduces a new and special feature that's worthy of a
flashier announcement. We can pick the specific version we want to
target, and instead of showing the regular "View Release Notes" toast,
we'd show this new one instead.
For now, everything is turned off as we're not sure yet which version we
will be targeting for an upcoming release.
<img width="550" height="1964" alt="Screenshot 2026-02-18 at 9 06@2x"
src="https://github.com/user-attachments/assets/19930b15-261b-416f-992e-6e28447beb27"
/>
Release Notes:
- N/A
Danilo Leal
created
24a81d4
git_ui: Remove dependency on agent crates (#49599)
Click to expand commit body
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Release Notes:
- N/A
Bennet Bo Fenner
created
3129d7e
ep: Parse "user accepted prediction" markers in evals (#49598)
Click to expand commit body
Also:
- Add two evals
- Remove duplicated Example 6 from the teacher prompt
Release Notes:
- N/A
Oleksiy Syvokon
created
b6cd147
Add retry logic to docs_suggestions workflow for transient Factory API failures (#49594)
Click to expand commit body
Add exponential backoff retry logic (3 attempts with 5s/10s/15s delays)
to the Droid CLI installation and
docs-suggest script execution steps in both the batch-suggestions and
cherry-pick-suggestions jobs.
This handles intermittent Factory API authentication issues that can
cause workflow failures when the API is temporarily unavailable or
rate-limited.
Release Notes:
- N/A
morgankrey
created
bad3df6
vim: Apply linked edits for delete/change/substitute (#48458)
Click to expand commit body
Ensure that editing one tag in a linked pair correctly mirrors the change
to the other tag for Vim delete/change/substitute commands, visual
mode operations, and the standard editor delete action.
Extract a `LinkedEdits` struct to deduplicate linked edit collection and
application across `handle_input`, `replace_selections`, `do_completion`,
`backspace`, and `delete`. Introduce `linked_edits_for_selections` as a
shared helper for building linked edits from the current selections.
Closes #35941
Release Notes:
- Fixed linked edits for delete/change/substitute commands so tag pairs
stay in sync.
---------
Co-authored-by: dino <dinojoaocosta@gmail.com>
Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Requests will be rate-limited by our internal logic, but it will "just"
work.
Release Notes:
- N/A