917c0c1
zeta: Do not show usage for copilot/supermaven (#30563)
Click to expand commit body
Follow up to #29952
Release Notes:
- Fix an issue where zeta usage would show up when using Copilot as an
edit prediction provider
Bennet Bo Fenner
created
595abe1
language_models: Add vision support for Copilot Chat models (#30155)
Click to expand commit body
Problem Statement:
Support for image analysis (vision) is currently restricted to Anthropic
and Gemini models. This limits users who wish to leverage vision
capabilities available in other models, such as Copilot, for tasks like
attaching image context within the agent message editor.
Proposed Change:
This PR extends vision support to include Copilot models that are
already equipped with vision capabilities. This integration will allow
users within VS Code to attach and analyze images using supported
Copilot models via the agent message editor.
Scope Limitation:
This PR does not implement controls within the message editor to ensure
that image context (e.g., through copy-paste or attachment) is
exclusively enabled or prompted only when a vision-supported model is
active. Long term the message editor should have access to each models
vision capability and stop the users from attaching images by either
greying out the context saying it's not support or not work through both
copy paste and file/directory search.
Closes #30076
Release Notes:
- Add vision support for Copilot Chat models
---------
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Umesh Yadav
and
Bennet Bo Fenner
created
267cfe9
bedrock: Fix Claude 3.5 Haiku support (#30560)
Click to expand commit body
This PR corrects a mistake introduced in
https://github.com/zed-industries/zed/pull/28523.
https://github.com/zed-industries/zed/pull/28523#issuecomment-2872369707
Release Notes:
- N/A
Marshall Bowers
created
c3906d6
bedrock: Support cross-region inference for US Claude 3.5 Haiku (#28523)
Click to expand commit body
Release Notes:
- Added Cross-Region inference support for US Claude 3.5 Haiku
Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Shardul Vaidya
,
Peter Tripp
, and
Marshall Bowers
created
159f042
bedrock: Add support for Mistral - Pixtral Large (#28274)
Click to expand commit body
Release Notes:
- AWS Bedrock: Added support for Pixtral Large 25.02 v1
---------
Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Shardul Vaidya
,
Peter Tripp
, and
Marshall Bowers
created
f3c922a
agent: Add menu item in the panel menu for zooming in feature (#30554)
Click to expand commit body
Release Notes:
- agent: Added a menu item in the panel's menu for the zooming in/out
feature.
As of https://github.com/zed-industries/zed/pull/30504, we now can zoom
in the whole panel, which uses the `shift-escape` keybinding. We were
also using the same binding for the message editor expansion, which was
caused a conflict. Now, the message editor expansion requires an
additional key (`alt`) to work.
Release Notes:
- agent: Fixed conflicting keybinding between message editor and panel
zoom.
I noticed the discussion in #28881, and had thought of exactly the same
a few days prior.
This implementation should preserve existing functionality fairly well.
I've added a dependency (serde_with) to allow the deserializer to skip
models which cannot be deserialized, which could occur if a future
provider, for instance, is added. Without this modification, such a
change could break all models. If extra dependencies aren't desired, a
manual implementation could be used instead.
- Closes #29369
Release Notes:
- Dynamically detect available Copilot Chat models, including all models
with tool support
---------
Co-authored-by: AidanV <aidanvanduyne@gmail.com>
Co-authored-by: imumesh18 <umesh4257@gmail.com>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Liam
,
AidanV
,
imumesh18
,
Bennet Bo Fenner
, and
Agus Zubiaga
created
09a6fcd
bedrock: Support Amazon Nova Premier (#29720)
Click to expand commit body
Release Notes:
- Bedrock: Added support for Amazon Nova Premier.
https://aws.amazon.com/blogs/aws/amazon-nova-premier-our-most-capable-model-for-complex-tasks-and-teacher-for-model-distillation/
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Shardul Vaidya
and
Marshall Bowers
created
28ae9f8
agent: Allow to collapse provider sections in the settings view (#30437)
Click to expand commit body
This is my first time contributing, so happy to make changes as needed.
## Problem
I found the LLM Provider settings to be pretty difficult to scan as I
was looking to enter my API credentials for a provider. Because all of
the provider configuration is exposed by default, providers that come at
the end of the list are pushed fairly far down and require scrolling. As
this list increases the problem only get worse.
## Solution
This is strictly a UI change.
* I put each provider configuration in a Disclosure that is closed by
default. This made scanning for my provider easy, and exposing the
configuration takes a single click. No scrolling is required to see all
providers on my 956px high laptop screen.
* I also added the success checkmark to authenticated providers to make
it even easier to find them to update a key or sign out.
* The `Start New Thread` had a class applied that was overriding the
default hover behavior of other buttons, so I removed it.
## Before

## After

Release Notes:
- Improved Agent Panel settings view scannability by making each
provider block collapsible by default.
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Chris Kelly
and
Danilo Leal
created
ff829e4
bedrock: Support Writer Palmyra models (#29719)
Click to expand commit body
Release Notes:
- Added support for Writer Palmyra X4, and X5
https://writer.com/engineering/long-context-palmyra-x5/
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Shardul Vaidya
and
Marshall Bowers
created
4aef0fb
agent: Handle thread title generation errors (#30273)
Click to expand commit body
The title of a (text) thread would get stuck in "Loading Summary..."
when the request to generate it failed. We now handle this case by
falling back to the default title, and letting the user manually edit
the title or retry generating it.
https://github.com/user-attachments/assets/898d26ad-d31f-4b62-9b05-519d923b1b22
Release Notes:
- agent: Handle thread title generation errors
---------
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Just a tiny patch to reduce allocations during context loading
Calling `.cloned()` on an iterator clones each element one by one, while
`into_iter().collect()` pre-allocates the resulting `Vec`
Release Notes:
- N/A
tidely
created
b492ff3
Agent panel: Zoom support (workspace::ToggleZoom) (#30504)
Click to expand commit body
Release Notes:
- Added support for zooming the agent panel via `workspace::ToggleZoom`.
Michael Sloan
created
2c63af9
markdown: Fix out of range panic in parser (cherry-pick #30510) (#30512)
Click to expand commit body
Cherry-picked markdown: Fix out of range panic in parser (#30510)
For some reason `pulldown_cmark` treats \````` as a codeblock, meaning
that we could end up with an invalid range generated from
`extract_code_block_content_range` (`3..2`)
Closes #30495
Release Notes:
- agent: Fix an edge case where the editor would crash when model
generated malformed markdown
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
gcp-cherry-pick-bot[bot]
and
Bennet Bo Fenner
created
38e4b3b
title_bar: Hide plans without a subscription period (#30478)
Click to expand commit body
This PR updates the plan display in the user menu in the title bar to
hide plans that do not have a subscription period.
Release Notes:
- Improved the displaying of the plan in the user menu.
Marshall Bowers
created
07c471e
zeta: Update onboarding modal with subscription info (#30439)
Click to expand commit body
This PR updates the edit prediction onboarding modal with steps about
subscribing to a plan.
When the user is not subscribed to a plan, we display a link to the
account page to sign up for one:
<img width="612" alt="Screenshot 2025-05-09 at 6 04 05 PM"
src="https://github.com/user-attachments/assets/0300194a-c419-43d9-8214-080674d31e12"
/>
If the user is already subscribed to a plan we indicate which plan they
are on and how many edit predictions they get with it:
<img width="616" alt="Screenshot 2025-05-09 at 6 03 16 PM"
src="https://github.com/user-attachments/assets/e2506096-e499-41f2-ba1f-fca768cb48b9"
/>
<img width="595" alt="Screenshot 2025-05-09 at 5 46 18 PM"
src="https://github.com/user-attachments/assets/de82f8c2-cad8-45fb-8988-26606a8dc3e1"
/>
Release Notes:
- N/A
Marshall Bowers
created
b6d5aab
zeta: Factor out `render_data_collection_explanation` (#30438)
Click to expand commit body
This PR factors out a `render_data_collection_explanation` method in the
`ZedPredictModal`.
This allows `rustfmt` to work inside of `render` once again.
Release Notes:
- N/A
Marshall Bowers
created
a71dbfc
agent: Make terminal command render with Markdown in the tool card (#30430)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/30411
Rendering as markdown gives us text selection and copying for free. In
the future, we may want to explore having these commands be actual
editors, allowing you to step in, change the command, and re-run it
right from there.
Release Notes:
- agent: Made the terminal command in the tool card selectable and
copyable.
Danilo Leal
created
c2d436d
Revert "Stop generating in the Agent panel when the user edits a previous message (#29915)" (#30092)
Click to expand commit body
This reverts commit ce053c9bff0699c922e62c0b3618249e0b9801b9.
Closes #ISSUE
Release Notes:
- N/A
Ben Brandt
created
3a207da
agent: Fix reinsertion of creases when editing past messages (#30417)
Click to expand commit body
Just noticed this got lost when main was merged in #29828.
Release Notes:
- agent: Fixed the rendering of added context when editing past messages
in a thread.
Cherry-picked git_ui: Fix co-author tooltip message (#30426)
It should show "Remove co-authored-by" when hovering on co-author is
already added state. And should say
"Add co-authored-by" when it is at disabled state.
Release Notes:
- N/A
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
Co-authored-by: Ben Kunkle <ben@zed.dev>
gcp-cherry-pick-bot[bot]
,
Smit Barmase
, and
Ben Kunkle
created
71e4885
Fix agent panel scroll while editing a past message (cherry-pick #30394) (#30399)
Click to expand commit body
Cherry-picked Fix agent panel scroll while editing a past message
(#30394)
This is similar to the `block_mouse_down` method added in #20649 (which
has a very similar motivation), but is more comprehensive in stopping
mouse events. Since I want to cherry-pick this to the releases, keeping
this change just to the agent panel. In a follow-up will replace
existing use of `block_mouse_down` to instead use this.
Release Notes:
- N/A
Co-authored-by: Michael Sloan <michael@zed.dev>
gcp-cherry-pick-bot[bot]
and
Michael Sloan
created
ca9a1e5
assistant_context_editor: Register `ContextEditor` actions that were lost (#30428)
Click to expand commit body
This PR restores the `ContextEditor` actions that were lost in
https://github.com/zed-industries/zed/pull/30168.
Closes https://github.com/zed-industries/zed/issues/30356.
Release Notes:
- agent: Added back some missing actions, including `assistant: quote
selection`.
Marshall Bowers
created
4fc7849
Wait to locate system-installed Node until the shell environment is loaded (#30416)
Click to expand commit body
Release Notes:
- Fixed a race condition that sometimes prevented a system-installed
`node` binary from being detected.
- Fixed a bug where the `node.path` setting was not respected when
invoking npm.
Max Brunsfeld
created
2ae7e16
agent: Fix layout shift due to the "Generating" label (#30422)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/30238
Release Notes:
- agent: Fixed layout shift happening in the toolbar (both in the
singleton and multibuffers) due to the "Generating" label that appeared
while the agent is still generating a response.
Danilo Leal
created
b061f44
agent: Thread history update improvements (#30415)
Click to expand commit body
- Try to preserve previously selected item on update
- Do not clear list items while updating to avoid a frame with no items
rendered
Release Notes:
- agent: Preserve previously selected item in Thread History on update
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Agus Zubiaga
,
Danilo Leal
, and
Richard Feldman
created
5ba2869
Revert "Load Profile state from Thread and tie visibility to the thread's model" (#30413)
Click to expand commit body
This reverts commit 3615d6d96c5d1c8fd0ccb1ee0bc176e9c94ac730.
Ultimately, we want to restore the ability to store a profile
per-thread, but for now reverting this fixes a fairly disruptive bug.
Release Notes:
- Fixed a bug causing the agent to use the wrong profile in some cases.
Cole Miller
created
2c80aa1
agent: write latest profile change to default setting (#30408)
Click to expand commit body
Reverts back to previous behavior where we update your settings so we
can load a new thread from your last configuration.
Release Notes:
- agent: Persist profile changes for new threads
Ben Brandt
created
2423b6d
agent: Show delete thread icon buttons on hover/focus (#30370)
Click to expand commit body
This PR's main goal is to show the delete thread button when the list
item is either focused or hovered. In order to do that, we ended up
refactoring (i.e., merging) the `PastThread` and `PastContext` elements
into a single `HistoryElementEntry` that already matches to the entry
type (i.e., context or thread).
Release Notes:
- agent: Simplify the UI by showing the delete thread icon button only
on hover or focus.
---------
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Danilo Leal
and
Agus Zubiaga
created
183912f
Fix agent panel scroll while editing a past message (#30394)
Click to expand commit body
This is similar to the `block_mouse_down` method added in #20649 (which
has a very similar motivation), but is more comprehensive in stopping
mouse events. Since I want to cherry-pick this to the releases, keeping
this change just to the agent panel. In a follow-up will replace
existing use of `block_mouse_down` to instead use this.
Release Notes:
- N/A
Michael Sloan
created
a21283b
Misc improvement of code for agent markdown codeblock (#30388)
Click to expand commit body
Release Notes:
- N/A
Michael Sloan
created
07868df
askpass: Remove attempt to surface friendly error if zed exe path is not executable before use in askpass script (cherry-pick #30396) (#30397)
Click to expand commit body
Cherry-picked askpass: Remove attempt to surface friendly error if zed
exe path is not executable before use in askpass script (#30396)
Closes #29819
Release Notes:
- Removed a faulty check in the askpass implementation causing
unintended "Failed to check metadata of Zed executable path for use in
askpass" errors when remoting via SSH or doing git operations that
require authentication.
Co-authored-by: Ben Kunkle <ben@zed.dev>
gcp-cherry-pick-bot[bot]
and
Ben Kunkle
created
4a0025d
Fix text overlap with markdown code block in list in agent response (cherry-pick #30377) (#30390)
Click to expand commit body
Cherry-picked Fix text overlap with markdown code block in list in agent
response (#30377)
Seems that `h_full` was causing it to use the height of the overall list
item for some reason.
Closes #30002
Release Notes:
- Agent Panel: Fixed text overlap for code blocks nested in lists in
agent response.
Co-authored-by: Michael Sloan <michael@zed.dev>
gcp-cherry-pick-bot[bot]
and
Michael Sloan
created
- Fix `ctrl-p` not working in the model selector
- Select first entry when opening the context picker
Release Notes:
- Fixed `menu::SelectPrevious` keybindings not working in the agent
panel's model selector.
2c5d8f9
editor: Use default gutter margin instead of `horizontal_padding` for horizontal content padding (#30138)
Click to expand commit body
This PR changes the way a horizontal margin is added in editors. It
removes the possibility to set a custom `horizontal_padding` for an
editor and utilizes the default `gutter_dimension` instead.
This change is made to ensure that no issues with soft-wrapping occurs
for any editor that has a `horizontal_margin` set (see #26893 for more
context on the implications here`. Furthermore, it ensures that the text
actually renders properly when scrolling horizontally and is not
cut-off.
### Horizontal padding:
| `main` | This PR |
| --- | --- |
| 
| 
|
### Editor horizontally scrolled:
| `main` | This PR |
| --- | --- |
| 
| 
|
Notice the difference at the horizontal borders.
The margin added for the `edit_file_tool` was 4 pixels. The `descent`,
whilst not exactly, is roughly the same here and also scales with the
font size nicely. Furthermore, it seems that the
`gutter_dimensions.margin` should be present anyway, given the following
comment
https://github.com/zed-industries/zed/blob/0b00256f5884fd17b4f834730b31f365613f3683/crates/editor/src/element.rs#L6887-L6889
so ensuring this property is actually set and not 0 seems to be
reasonable given the circumstances.
Please note though that this will apply to all editors in the app.
Again, this seems like it should be the case anyway, just wanted to
mention this again.
Should the fix like this not be wanted, I can change this here so that
the `horizontal_margin` is better accounted for when soft-wrapping in an
editor. Feel free to let me know in this case.
Release Notes:
- N/A
Finn Evers
created
49689ef
agent: Fuzzy search in model selector (#30281)
Click to expand commit body
This change enables fuzzy search on model providers and names. For
example, the query "z41" will match "zed/gpt-4.1".
Release Notes:
- Agent: Improved model selection with fuzzy search support
Oleksiy Syvokon
created
5e9d6f4
agent: Render edit tool error as markdown (#30325)
Click to expand commit body
Release Notes:
- agent: Render edit tool error as markdown and allow selecting it
Agus Zubiaga
created
b94b5e6
agent: Fix autoscrolling to history entry (#30321)
Click to expand commit body
We were still using entry indexes to scroll, but the list now includes
the separators as items, so the indexes need to be translated
Release Notes:
- agent: Fix autoscrolling to history entry when navigating via keyboard
Agus Zubiaga
created
65ada5c
agent: Fix message editor's button positions when expanded (#30311)
Click to expand commit body
Fixes an issue introduced by #29959 which caused the message editor to
overflow from the agent panel bounds, making the bottom buttons
invisible when the editor was expanded (cmd+esc).
Fixing this required changing the base structure of the agent panel, but
things seem to work as expected:
https://github.com/user-attachments/assets/fc4c97fb-f7cb-4f54-a268-c30fbcb1649f
Release Notes:
- agent: Fix message editor's button positions when expanded
Closes #29072, #28390,
Release Notes:
- AWS Bedrock: Fixed case where user couldn't delete manually added AWS
credentials.
---------
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Co-authored-by: Peter Tripp <peter@zed.dev>
Shardul Vaidya
,
Marshall Bowers
, and
Peter Tripp
created
af88bd4
Add a divider below "Usage" in the Edit Prediction menu (#30284)
Click to expand commit body
As it felt untidy without it.
Release Notes:
- N/A
Danilo Leal
created
3a73f7c
Fix error when Copilot calls tools without arguments (cherry-pick #30371) (#30374)
Click to expand commit body
Cherry-picked Fix error when Copilot calls tools without arguments
(#30371)
Fixes https://github.com/zed-industries/zed/issues/30346
The model can output an empty string to indicate the absence of
arguments, which can't be parsed as a `serde_json::Value`. When that
happens, we now create an empty object instead on behalf of the model.
Release Notes:
- Fixed a bug that prevented Copilot models from calling the
`diagnostic` tool.
Co-authored-by: Antonio Scandurra <me@as-cii.com>
gcp-cherry-pick-bot[bot]
and
Antonio Scandurra
created
f3d84f0
Include `EditAgent`'s raw output when inspecting thread (cherry-pick #30337) (#30341)
Click to expand commit body
Cherry-picked Include `EditAgent`'s raw output when inspecting thread
(#30337)
This allows us to debug the raw edits that were generated when people
report feedback, when running evals and when opening the thread as
Markdown.
Release Notes:
- Improved debug output for agent threads.
Co-authored-by: Antonio Scandurra <me@as-cii.com>
gcp-cherry-pick-bot[bot]
and
Antonio Scandurra
created
a230730
Make `copilot::SignIn` open sign-in modal when needed (cherry-pick #30239) (#30350)
Click to expand commit body
Cherry-picked Make `copilot::SignIn` open sign-in modal when needed
(#30239)
Also:
* Makes sign out show status notifications and errors.
* Reinstall now prompts for sign-in after start.
Addresses some of #29250, but not all of it.
Release Notes:
- N/A
Co-authored-by: Michael Sloan <michael@zed.dev>
gcp-cherry-pick-bot[bot]
and
Michael Sloan
created
5ae8072
agent: Show checkmark for current profile, not default profile (cherry-pick #30314) (#30334)
Click to expand commit body
Cherry-picked agent: Show checkmark for current profile, not default
profile (#30314)
Closes #ISSUE
Release Notes:
- agent: Fixed a bug that caused the profile selector to display a
checkmark next to the wrong profile.
Co-authored-by: Cole Miller <cole@zed.dev>