fix: convert outputs to serde_yaml::Value type
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -154,10 +154,16 @@ fn build_config_table(settings: &config::Settings) -> Table {
|
|||||||
]));
|
]));
|
||||||
|
|
||||||
// Get the actual plugin with user-provided options to see the merged result
|
// Get the actual plugin with user-provided options to see the merged result
|
||||||
|
// Convert outputs from HashMap<String, String> to HashMap<String, serde_yaml::Value>
|
||||||
|
let outputs_converted: std::collections::HashMap<String, serde_yaml::Value> = plugin_config.outputs
|
||||||
|
.iter()
|
||||||
|
.map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone())))
|
||||||
|
.collect();
|
||||||
|
|
||||||
let actual_plugin = get_meta_plugin(
|
let actual_plugin = get_meta_plugin(
|
||||||
meta_plugin_type,
|
meta_plugin_type,
|
||||||
Some(plugin_config.options.clone()),
|
Some(plugin_config.options.clone()),
|
||||||
Some(plugin_config.outputs.clone()),
|
Some(outputs_converted),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Show the merged options
|
// Show the merged options
|
||||||
|
|||||||
Reference in New Issue
Block a user