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 <daniloleal09@gmail.com>
This commit is contained in:
Nathan Sobo 2025-05-05 11:48:26 -06:00 committed by GitHub
parent 7164124512
commit e9616259d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -705,8 +705,8 @@
"web_search": true
}
},
"manual": {
"name": "Manual",
"minimal": {
"name": "Minimal",
"enable_all_context_servers": false,
"tools": {}
}

View file

@ -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,
};

View file

@ -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
}
}