feat: add env as default meta plugin

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-29 14:38:04 -03:00
parent c07c83fb8f
commit 7ae2a3919f

View File

@@ -234,6 +234,18 @@ impl Settings {
},
];
}
// Set default meta_plugins to include 'env' if not provided
if settings.meta_plugins.is_none() {
debug!("CONFIG: Setting default meta_plugins to include 'env'");
settings.meta_plugins = Some(vec![
MetaPluginConfig {
name: "env".to_string(),
options: std::collections::HashMap::new(),
outputs: std::collections::HashMap::new(),
}
]);
}
// Set dir to default if not provided or is empty
if settings.dir == PathBuf::new() {