fix: add to_snake_case_string dependency and fix imports and type mismatch

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 11:56:41 -03:00
parent d442f41477
commit 2f0e7e1c5e
3 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
use crate::config::Settings;
use crate::meta_plugin::{get_meta_plugin, MetaPlugin, MetaPluginType};
use crate::meta_plugin::{get_meta_plugin_with_config, MetaPlugin, MetaPluginType};
use crate::modes::common::settings_meta_plugin_types;
use clap::Command;
use log::debug;
@@ -60,13 +60,13 @@ impl MetaService {
let options: std::collections::HashMap<String, serde_yaml::Value> = config
.options
.iter()
.map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone())))
.map(|(k, v)| (k.clone(), v.clone()))
.collect();
let outputs: std::collections::HashMap<String, serde_yaml::Value> = config
.outputs
.iter()
.map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone())))
.map(|(k, v)| (k.clone(), v.clone()))
.collect();
(Some(options), Some(outputs))