feat: endpoints for config management via goose-server (#1207)

Co-authored-by: Lily Delalande <ldelalande@squareup.com>
This commit is contained in:
Alex Hancock
2025-02-12 21:19:13 -05:00
committed by GitHub
parent e461e6845d
commit 9287eaeb5d
14 changed files with 569 additions and 6 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ impl Config {
}
// Load current values from the config file
fn load_values(&self) -> Result<HashMap<String, Value>, ConfigError> {
pub fn load_values(&self) -> Result<HashMap<String, Value>, ConfigError> {
if self.config_path.exists() {
let file_content = std::fs::read_to_string(&self.config_path)?;
// Parse YAML into JSON Value for consistent internal representation