Project
cortex
Description
config get uses a single config.get(&args.key) on the document root.
Values under [model] etc. are not reachable as model.default.
src/cortex-cli/src/cli/handlers.rs — ConfigSubcommand::Get.
Error Message
`Key 'model.default' not found in configuration` (when nested table exists).
Debug Logs
System Information
Screenshots

Steps to Reproduce
- Ensure
~/.cortex/config.toml has [model] with default = "…".
- Run
cortex config get model.default.
Expected Behavior
Return nested value or document that only flat keys work.
Actual Behavior
Not found.
Additional Context
src/cortex-cli/src/cli/handlers.rs — ConfigSubcommand::Get.
Project
cortex
Description
config getuses a singleconfig.get(&args.key)on the document root.Values under
[model]etc. are not reachable asmodel.default.src/cortex-cli/src/cli/handlers.rs—ConfigSubcommand::Get.Error Message
`Key 'model.default' not found in configuration` (when nested table exists).Debug Logs
System Information
Screenshots
Steps to Reproduce
~/.cortex/config.tomlhas[model]withdefault = "…".cortex config get model.default.Expected Behavior
Return nested value or document that only flat keys work.
Actual Behavior
Not found.
Additional Context
src/cortex-cli/src/cli/handlers.rs—ConfigSubcommand::Get.