refactor: replace options_to_serialize with effective_options

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 16:59:50 -03:00
parent 1813e21e75
commit 3e8d4b223b

View File

@@ -201,10 +201,10 @@ fn build_meta_plugins_configured_table(settings: &config::Settings) -> Option<Ta
} }
} }
let options_str = if options_to_serialize.is_empty() { let options_str = if effective_options.is_empty() {
"{}".to_string() "{}".to_string()
} else { } else {
serde_yaml::to_string(&options_to_serialize) serde_yaml::to_string(&effective_options)
.unwrap_or_else(|_| "Unable to serialize options".to_string()) .unwrap_or_else(|_| "Unable to serialize options".to_string())
.trim() .trim()
.to_string() .to_string()