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:
parent
7164124512
commit
e9616259d0
3 changed files with 5 additions and 5 deletions
|
@ -705,8 +705,8 @@
|
||||||
"web_search": true
|
"web_search": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"manual": {
|
"minimal": {
|
||||||
"name": "Manual",
|
"name": "Minimal",
|
||||||
"enable_all_context_servers": false,
|
"enable_all_context_servers": false,
|
||||||
"tools": {}
|
"tools": {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ impl ProfileSelector {
|
||||||
let documentation = match profile.name.to_lowercase().as_str() {
|
let documentation = match profile.name.to_lowercase().as_str() {
|
||||||
builtin_profiles::WRITE => Some("Get help to write anything."),
|
builtin_profiles::WRITE => Some("Get help to write anything."),
|
||||||
builtin_profiles::ASK => Some("Chat about your codebase."),
|
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,
|
_ => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,10 @@ pub mod builtin_profiles {
|
||||||
|
|
||||||
pub const WRITE: &str = "write";
|
pub const WRITE: &str = "write";
|
||||||
pub const ASK: &str = "ask";
|
pub const ASK: &str = "ask";
|
||||||
pub const MANUAL: &str = "manual";
|
pub const MINIMAL: &str = "minimal";
|
||||||
|
|
||||||
pub fn is_builtin(profile_id: &AgentProfileId) -> bool {
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue