espnet3.bin.atlas.agents.cli.build_agent_config
Less than 1 minute
espnet3.bin.atlas.agents.cli.build_agent_config
espnet3.bin.atlas.agents.cli.build_agent_config(config) → DictConfig
Merge atlas.agent settings over the packaged defaults and validate them.
- Parameters:config – Mapping or OmegaConf node with at least
provider(one ofPROVIDERS, case-insensitive). - Returns: The complete agent settings; see
resources/agent_defaults.yamlfor every key. - Return type: DictConfig
- Raises:ValueError – If
provideris missing or unsupported.
Example
>>> build_agent_config({"provider": "Claude"}).claude.permission_mode
'bypassPermissions'