Skip to content

feat(config, cli): Improved conversation configuration handling#250

Merged
JeanMertz merged 2 commits intomainfrom
improved-config-loading
Sep 25, 2025
Merged

feat(config, cli): Improved conversation configuration handling#250
JeanMertz merged 2 commits intomainfrom
improved-config-loading

Conversation

@JeanMertz
Copy link
Collaborator

New conversations now inherit the global configuration state, but after that, further turns in the conversation will only take CLI configuration into account (including any configuration files explicitly loaded via --cfg). The configuration is stored in individual deltas that are attached to individual conversation turns, and are merged with the inherited configuration state.

To make this as convenient as possible, a few additional CLI flags have been added to the query command to control the configuration state, such as --edit, --no-edit, --reasoning, --no-reasoning, --tool, and --no-tool.

The --param flag short option changes from -r to -p to accommodate the new reasoning flags.

New conversations now inherit the global configuration state, but after
that, further turns in the conversation will only take CLI configuration
into account (including any configuration files explicitly loaded via
`--cfg`). The configuration is stored in individual deltas that are
attached to individual conversation turns, and are merged with the
inherited configuration state.

To make this as convenient as possible, a few additional CLI flags have
been added to the query command to control the configuration state, such
as `--edit`, `--no-edit`, `--reasoning`, `--no-reasoning`, `--tool`, and
`--no-tool`.

The `--param` flag short option changes from `-r` to `-p` to accommodate
the new reasoning flags.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit 875cbca into main Sep 25, 2025
12 checks passed
@JeanMertz JeanMertz deleted the improved-config-loading branch September 25, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant