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: Update message editor placeholder (#37441)

Danilo Leal9a8c5053c22e
diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rs
index bf981d10f76..589633ae250 100644
--- a/crates/agent_ui/src/acp/thread_view.rs
+++ b/crates/agent_ui/src/acp/thread_view.rs
@@ -332,6 +332,11 @@ impl AcpThreadView {
let placeholder = if agent.name() == "Zed Agent" {
format!("Message the {} — @ to include context", agent.name())
+ } else if agent.name() == "Claude Code" || !available_commands.borrow().is_empty() {
+ format!(
+ "Message {} — @ to include context, / for commands",
+ agent.name()
+ )
} else {
format!("Message {} — @ to include context", agent.name())
};