agent: Sort profiles based on relevance (#29893)
Kinda feel like the way that makes the most sense to sort profiles in the dropdown is by relevance/impact. "Write" is the default profile and contains all built-in tools turned on by default, thus it should be the first. "Ask" contains read-only tools, one step down from Write. And "Manual" is totally empty, the least "powerful" profile, thus the last. Release Notes: - N/A
This commit is contained in:
parent
eb15ed7d60
commit
a19687a815
1 changed files with 18 additions and 18 deletions
|
@ -665,24 +665,6 @@
|
||||||
"single_file_review": true,
|
"single_file_review": true,
|
||||||
"default_profile": "write",
|
"default_profile": "write",
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"ask": {
|
|
||||||
"name": "Ask",
|
|
||||||
// We don't know which of the context server tools are safe for the "Ask" profile, so we don't enable them by default.
|
|
||||||
// "enable_all_context_servers": true,
|
|
||||||
"tools": {
|
|
||||||
"contents": true,
|
|
||||||
"diagnostics": true,
|
|
||||||
"fetch": true,
|
|
||||||
"list_directory": true,
|
|
||||||
"now": true,
|
|
||||||
"find_path": true,
|
|
||||||
"read_file": true,
|
|
||||||
"open": true,
|
|
||||||
"grep": true,
|
|
||||||
"thinking": true,
|
|
||||||
"web_search": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"write": {
|
"write": {
|
||||||
"name": "Write",
|
"name": "Write",
|
||||||
"enable_all_context_servers": true,
|
"enable_all_context_servers": true,
|
||||||
|
@ -705,6 +687,24 @@
|
||||||
"web_search": true
|
"web_search": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ask": {
|
||||||
|
"name": "Ask",
|
||||||
|
// We don't know which of the context server tools are safe for the "Ask" profile, so we don't enable them by default.
|
||||||
|
// "enable_all_context_servers": true,
|
||||||
|
"tools": {
|
||||||
|
"contents": true,
|
||||||
|
"diagnostics": true,
|
||||||
|
"fetch": true,
|
||||||
|
"list_directory": true,
|
||||||
|
"now": true,
|
||||||
|
"find_path": true,
|
||||||
|
"read_file": true,
|
||||||
|
"open": true,
|
||||||
|
"grep": true,
|
||||||
|
"thinking": true,
|
||||||
|
"web_search": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"manual": {
|
"manual": {
|
||||||
"name": "Manual",
|
"name": "Manual",
|
||||||
"enable_all_context_servers": false,
|
"enable_all_context_servers": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue