fix: display default digest plugin 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 15:57:25 -03:00
parent e0e5f5ff34
commit 74ebb87823

View File

@@ -160,9 +160,13 @@ fn build_config_table(settings: &config::Settings) -> Table {
.map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone()))) .map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone())))
.collect(); .collect();
// Convert options from HashMap<String, serde_yaml::Value> to the correct type
// (they're already in the correct type, so we can use them directly)
let options_converted = plugin_config.options.clone();
let actual_plugin = get_meta_plugin( let actual_plugin = get_meta_plugin(
meta_plugin_type, meta_plugin_type,
Some(plugin_config.options.clone()), Some(options_converted),
Some(outputs_converted), Some(outputs_converted),
); );