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.

Rename Manual profile to Minimal (#29852)

Nathan Soboe9616259d060
diff --git a/assets/settings/default.json b/assets/settings/default.json
index 178adc504c9..72d1100ef09 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -705,8 +705,8 @@
"web_search": true
}
},
- "manual": {
- "name": "Manual",
+ "minimal": {
+ "name": "Minimal",
"enable_all_context_servers": false,
"tools": {}
}
diff --git a/crates/agent/src/profile_selector.rs b/crates/agent/src/profile_selector.rs
index 38ec7ff0c8e..b458f90f5ac 100644
--- a/crates/agent/src/profile_selector.rs
+++ b/crates/agent/src/profile_selector.rs
@@ -93,7 +93,7 @@ impl ProfileSelector {
let documentation = match profile.name.to_lowercase().as_str() {
builtin_profiles::WRITE => Some("Get help to write anything."),
builtin_profiles::ASK => Some("Chat about your codebase."),
- builtin_profiles::MANUAL => Some("Chat about anything with no tools."),
+ builtin_profiles::MINIMAL => Some("Chat about anything with no tools."),
_ => None,
};
diff --git a/crates/assistant_settings/src/agent_profile.rs b/crates/assistant_settings/src/agent_profile.rs
index f5f42397a63..7c9b3bf2a77 100644
--- a/crates/assistant_settings/src/agent_profile.rs
+++ b/crates/assistant_settings/src/agent_profile.rs
@@ -10,10 +10,10 @@ pub mod builtin_profiles {
pub const WRITE: &str = "write";
pub const ASK: &str = "ask";
- pub const MANUAL: &str = "manual";
+ pub const MINIMAL: &str = "minimal";
pub fn is_builtin(profile_id: &AgentProfileId) -> bool {
- profile_id.as_str() == WRITE || profile_id.as_str() == ASK || profile_id.as_str() == MANUAL
+ profile_id.as_str() == WRITE || profile_id.as_str() == ASK || profile_id.as_str() == MINIMAL
}
}