fix: remove redundant default options merge and use effective_options directly
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -194,13 +194,7 @@ fn build_meta_plugins_configured_table(settings: &config::Settings) -> Option<Ta
|
||||
None,
|
||||
);
|
||||
|
||||
// Merge in default options from the plugin implementation
|
||||
for (key, value) in default_plugin.options() {
|
||||
if !options_to_serialize.contains_key(key) {
|
||||
options_to_serialize.insert(key.clone(), value.clone());
|
||||
}
|
||||
}
|
||||
|
||||
// Use the effective_options which already includes both defaults and configured options
|
||||
let options_str = if effective_options.is_empty() {
|
||||
"{}".to_string()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user