Skip to main content

load_credentials

Function load_credentials 

Source
pub fn load_credentials(
    config_path: Option<&Path>,
) -> Result<HashMap<String, String>, CoreError>
Expand description

Load credentials from a JSON config file.

ยงArguments

  • config_path - Path to config file (defaults to ~/.synth-ai/user_config.json)