fix: Resolve compilation errors related to status and filter plugins
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -6,6 +6,7 @@ use log::debug;
|
||||
|
||||
use crate::modes::common::{get_format_box_chars_no_border_line_separator, OutputFormat};
|
||||
use crate::config;
|
||||
use crate::common::status::StatusInfo;
|
||||
use prettytable::color;
|
||||
use serde_json;
|
||||
use serde_yaml;
|
||||
|
||||
@@ -163,12 +163,8 @@ fn build_filter_plugin_table(filter_plugins: &Vec<String>) -> Table {
|
||||
.to_string()
|
||||
};
|
||||
|
||||
// Get description from the first option or use a default
|
||||
let description = if let Some(first_opt) = options.first() {
|
||||
first_opt.description.clone().unwrap_or_else(|| "Filter plugin".to_string())
|
||||
} else {
|
||||
"Filter plugin".to_string()
|
||||
};
|
||||
// Use a default description
|
||||
let description = "Filter plugin".to_string();
|
||||
|
||||
filter_plugin_table.add_row(Row::new(vec![
|
||||
Cell::new(&plugin_name),
|
||||
|
||||
Reference in New Issue
Block a user