Files
zed/crates
Richard Feldman c17bc26b3a Preserve selected agent when starting thread in new worktree (#51628)
When the user selected a custom agent (e.g. Codex) and chose "Start
Thread in New Worktree", the new workspace's panel ignored the selection
and defaulted to Zed Agent (NativeAgent).

The fix captures `self.selected_agent()` in
`handle_worktree_creation_requested` before the async task, passes it
through to `setup_new_workspace`, and forwards it to `external_thread`
instead of `None`.

Closes AI-84

(No release notes because it's still feature-flagged.)

Release Notes:

- N/A
2026-03-16 17:10:50 -04:00
..
2026-03-16 17:23:02 +01:00
2026-03-11 03:08:39 +00:00
2026-03-16 09:03:22 +00:00
2026-03-12 22:15:12 +00:00
2026-02-26 18:36:50 +01:00
2026-02-12 01:06:23 +00:00
2026-03-16 17:23:02 +01:00