Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Improve MCP with no config editor empty state (#33282)

Danilo Leal324cbecb7465
diff --git a/crates/agent/src/agent_configuration/configure_context_server_modal.rs b/crates/agent/src/agent_configuration/configure_context_server_modal.rs
index 541d5c0a57d..6a0bd765c79 100644
--- a/crates/agent/src/agent_configuration/configure_context_server_modal.rs
+++ b/crates/agent/src/agent_configuration/configure_context_server_modal.rs
@@ -503,10 +503,7 @@ impl ConfigureContextServerModal {
ConfigurationSource::Existing { editor } => editor,
ConfigurationSource::Extension { editor, .. } => {
let Some(editor) = editor else {
- return Label::new(
- "No configuration options available for this context server. Visit the Repository for any further instructions.",
- )
- .color(Color::Muted).into_any_element();
+ return div().into_any_element();
};
editor
}