Skip to content

settings_ui: Remove feature flag for AI settings and adjust design - #59860

Merged
danilo-leal merged 23 commits into
mainfrom
ai-settings-ui-go
Jul 1, 2026
Merged

settings_ui: Remove feature flag for AI settings and adjust design#59860
danilo-leal merged 23 commits into
mainfrom
ai-settings-ui-go

Conversation

@danilo-leal

@danilo-leal danilo-leal commented Jun 25, 2026

Copy link
Copy Markdown
Member

Closes AI-159
Closes AI-434
Closes AI-435

Release Notes:

  • Key agent-related settings now live in the settings editor, close to all other settings available in Zed. This specifically includes the move of LLM providers, external agents, and MCP servers to the settings editor.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 25, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 25, 2026
@danilo-leal
danilo-leal added this pull request to the merge queue Jul 1, 2026
Merged via the queue into main with commit 40d2003 Jul 1, 2026
36 checks passed
@danilo-leal
danilo-leal deleted the ai-settings-ui-go branch July 1, 2026 04:28
@bennetbo

bennetbo commented Jul 1, 2026

Copy link
Copy Markdown
Member

@zed-industries/approved

Comment on lines -1201 to -1224
let restart_button = matches!(
connection_status,
AgentConnectionStatus::Connected | AgentConnectionStatus::Connecting
)
.then(|| {
IconButton::new(
SharedString::from(format!("restart-{}", id)),
IconName::RotateCw,
)
.disabled(connection_status == AgentConnectionStatus::Connecting)
.icon_color(Color::Muted)
.icon_size(IconSize::Small)
.tooltip(Tooltip::text("Restart Agent Connection"))
.on_click(cx.listener({
let agent = agent.clone();
move |this, _, _window, cx| {
let server: Rc<dyn agent_servers::AgentServer> =
Rc::new(agent_servers::CustomAgentServer::new(agent.id()));
this.agent_connection_store.update(cx, |store, cx| {
store.restart_connection(agent.clone(), server, cx);
});
}
}))
});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I discovered in the latest preview build, it looks like this PR removes the restart button for external agents completely, is there any plan to bring this back in the new UI? I found this button quite useful for picking up settings file changes, after upgrading an external agent, etc. Also very useful when building / scripting ACP tools to pick up changes.

Alternatively, is there a different way to restart the agent server I'm missing, other than restarting Zed completely? I couldn't find anything in the command palette or anything like that.

(also, I'm not sure what's the best way to raise questions like this, hence the PR comment — should feature regressions like this be reported as a bug? Raised as a new feature request via discussions? Something else?)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, now i have to go to settings, cant change directly in the chat to configure things

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might have accidentally removed this button, will double-check and add it back

Alternatively, is there a different way to restart the agent server I'm missing, other than restarting Zed completely? I couldn't find anything in the command palette or anything like that.

For now you can still restart an ACP server from the logs view. Run dev: open acp logs, select the ACP agent you want to restart, and click on the restart button

image

jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…ed-industries#59860)

Closes AI-159
Closes AI-434
Closes AI-435

Release Notes:

- Key agent-related settings now live in the settings editor, close to
all other settings available in Zed. This specifically includes the move
of LLM providers, external agents, and MCP servers to the settings
editor.

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
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.

4 participants