fix: remove duplicate meta_type and replace meta_name with meta_type

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-27 21:17:48 -03:00
parent e279af07d3
commit fc54b8ff8f
5 changed files with 11 additions and 8 deletions

View File

@@ -149,7 +149,7 @@ pub fn settings_meta_plugin_types(cmd: &mut Command, settings: &config::Settings
let mut found = false;
for meta_plugin_type in MetaPluginType::iter() {
let meta_plugin = crate::meta_plugin::get_meta_plugin(meta_plugin_type.clone(), None, None);
if meta_plugin.meta_name() == trimmed_name {
if meta_plugin.meta_type().to_string() == trimmed_name {
meta_plugin_types.push(meta_plugin_type);
found = true;
break;