File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/q_cli/src/cli/chat/tools Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ impl Tool {
8383 Tool :: FsRead ( fs_read) => fs_read. queue_description ( updates) ,
8484 Tool :: FsWrite ( fs_write) => fs_write. queue_description ( ctx, updates) ,
8585 Tool :: ExecuteBash ( execute_bash) => execute_bash. queue_description ( updates) ,
86- Tool :: UseAws ( use_aws) => use_aws. show_readable_intention ( updates) ,
86+ Tool :: UseAws ( use_aws) => use_aws. queue_description ( updates) ,
8787 }
8888 }
8989
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl UseAws {
9696 }
9797 }
9898
99- pub fn show_readable_intention ( & self , updates : & mut impl Write ) -> Result < ( ) > {
99+ pub fn queue_description ( & self , updates : & mut impl Write ) -> Result < ( ) > {
100100 queue ! (
101101 updates,
102102 style:: Print ( "Running aws cli command:\n " ) ,
@@ -114,10 +114,10 @@ impl UseAws {
114114 queue ! ( updates, style:: Print ( "Profile name: default\n " . to_string( ) ) ) ?;
115115 }
116116
117- queue ! ( updates, style:: Print ( format!( "Region: {}\n " , self . region) ) ) ?;
117+ queue ! ( updates, style:: Print ( format!( "Region: {}" , self . region) ) ) ?;
118118
119119 if let Some ( ref label) = self . label {
120- queue ! ( updates, style:: Print ( format!( "Label : {}\n " , label) ) ) ?;
120+ queue ! ( updates, style:: Print ( format!( "\n Label : {}" , label) ) ) ?;
121121 }
122122 Ok ( ( ) )
123123 }
You can’t perform that action at this time.
0 commit comments