feat: display only meta plugin output keys
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -99,10 +99,12 @@ fn build_meta_plugin_table(meta_plugin_info: &Vec<MetaPluginInfo>) -> Table {
|
|||||||
b->"Outputs"));
|
b->"Outputs"));
|
||||||
|
|
||||||
for info in meta_plugin_info {
|
for info in meta_plugin_info {
|
||||||
let outputs_display = if info.outputs.is_empty() {
|
// Extract just the keys from the outputs
|
||||||
"{}".to_string()
|
let outputs_keys: Vec<&String> = info.outputs.keys().collect();
|
||||||
|
let outputs_display = if outputs_keys.is_empty() {
|
||||||
|
"".to_string()
|
||||||
} else {
|
} else {
|
||||||
serde_yaml::to_string(&info.outputs).unwrap_or_else(|_| "{}".to_string()).trim().to_string()
|
outputs_keys.join(", ")
|
||||||
};
|
};
|
||||||
|
|
||||||
meta_plugin_table.add_row(Row::new(vec![
|
meta_plugin_table.add_row(Row::new(vec![
|
||||||
|
|||||||
Reference in New Issue
Block a user