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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user