refactor: merge get_meta_plugin_with_config into get_meta_plugin
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -353,7 +353,7 @@ impl ItemService {
|
||||
|
||||
let mut plugins: Vec<Box<dyn MetaPlugin>> = plugin_types
|
||||
.iter()
|
||||
.map(|p| get_meta_plugin_with_config(p.clone(), None, None))
|
||||
.map(|p| crate::meta_plugin::get_meta_plugin(p.clone(), None, None))
|
||||
.collect();
|
||||
debug!("ITEM_SERVICE: Created {} meta plugins for MCP item", plugins.len());
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ impl MetaService {
|
||||
(None, None)
|
||||
};
|
||||
|
||||
get_meta_plugin_with_config(meta_plugin_type.clone(), options, outputs)
|
||||
crate::meta_plugin::get_meta_plugin(meta_plugin_type.clone(), options, outputs)
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user