Skip to content

Commit 70aaca9

Browse files
factorydroidFactory Bot
authored andcommitted
fix(cli): clarify 'Can Delegate' field meaning in agent show
Fixes bounty issue #1381 The 'Can Delegate' field now displays 'yes/no' instead of 'true/false' and includes a brief explanation '(allows spawning sub-agents)' to help users understand what the delegation capability means.
1 parent 5579873 commit 70aaca9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cortex-cli/src/agent_cmd.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,10 @@ async fn run_show(args: ShowArgs) -> Result<()> {
781781
println!("Source: {}", agent.source);
782782
println!("Native: {}", agent.native);
783783
println!("Hidden: {}", agent.hidden);
784-
println!("Can Delegate: {}", agent.can_delegate);
784+
println!(
785+
"Can Delegate: {} (allows spawning sub-agents)",
786+
if agent.can_delegate { "yes" } else { "no" }
787+
);
785788

786789
if let Some(ref model) = agent.model {
787790
println!("Model: {model}");

0 commit comments

Comments
 (0)