feat: auto-initialize goose config.yaml (#2102)

This commit is contained in:
Alex Hancock
2025-04-09 11:31:19 -04:00
committed by GitHub
parent 5cc608dd03
commit a3deeef05a
7 changed files with 131 additions and 2 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ impl Config {
}
// Save current values to the config file
fn save_values(&self, values: HashMap<String, Value>) -> Result<(), ConfigError> {
pub fn save_values(&self, values: HashMap<String, Value>) -> Result<(), ConfigError> {
// Convert to YAML for storage
let yaml_value = serde_yaml::to_string(&values)?;