neuralbench.config_manager.load_config

neuralbench.config_manager.load_config(config_path: Path | None = None) dict[str, Any][source][source]

Load neuralbench configuration.

The config file location is resolved in order: 1. Explicit config_path argument 2. NEURALBENCH_CONFIG environment variable 3. Default ~/.neuralbench/config.json

Parameters:

config_path – Path to config file. If None, checks env var then default.

Returns:

Dictionary with configuration values.