refactor: replace meta_name with MetaPluginType from strum

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:04:52 -03:00
parent 892a3f24a5
commit 79fdf05d84
14 changed files with 36 additions and 32 deletions

View File

@@ -71,8 +71,8 @@ impl MetaPlugin for UserMetaPlugin {
}
}
fn meta_name(&self) -> String {
self.base.meta_name.clone()
fn meta_type(&self) -> MetaPluginType {
MetaPluginType::User
}
fn outputs(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {