From e9616259d06053b3e4eba5ceb3a77546a8f494a1 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 5 May 2025 11:48:26 -0600 Subject: [PATCH] Rename Manual profile to Minimal (#29852) Completely subjective, but I just like it better. Release Notes: - N/A --------- Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Co-authored-by: Danilo Leal --- assets/settings/default.json | 4 ++-- crates/agent/src/profile_selector.rs | 2 +- crates/assistant_settings/src/agent_profile.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/settings/default.json b/assets/settings/default.json index 178adc504c951d87be5a686b0e046f47e2bba171..72d1100ef0955a7c4530eae7bf295a8fff705fd6 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 38ec7ff0c8ed445e309d793db7ad2f0cae033785..b458f90f5acc4943d5bdeba2666b68f7ad3009a3 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 f5f42397a639e06ab31bb1772a67e88d0148a833..7c9b3bf2a7758d84f4341a7fc7ad1535ea3348d6 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 } }