﻿# Continue CLI can reuse a saved configuration before the default file

Continue CLI resolves an explicit config before the saved selection and default YAML, so editing the default file may not change a session using a persisted configuration.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-continue-saved-config-selection/
Language: en

## Diagnose an unchanged agent setup

A developer edits the default Continue YAML but the terminal agent still offers an older model and tools. The file may be valid yet inactive. The [CLI configuration guide](https://docs.continue.dev/cli/configuration) documents configuration resolution through an explicit launch choice, a saved selection and only then the default file. This is a selection problem to investigate before changing provider credentials or concluding that the parser ignored a new field.

## Read the selection priority

An explicit `--config` file path overrides the saved preference for that session. Without it, the last-used selection can take precedence over `~/.continue/config.yaml`. A shared script that relies on the default should therefore account for a developer's persisted choice. For reproducible automation, identify the intended configuration directly instead of assuming every user's terminal starts from the same personal default file. Keep the reference to the chosen artifact alongside the task.

## Distinguish switching configuration from switching models

The [TUI reference](https://docs.continue.dev/cli/tui-mode) lists `/config` and `/model` separately. Changing a chat model within a configuration is not the same as selecting another collection of models, rules and MCP servers. The configuration guide says a runtime configuration choice is saved for later use. Consequently, an unrelated interactive experiment can alter the starting selection for a subsequent invocation even if no file in the current repository changed.

## Inspect launch additions independently

The [quickstart](https://docs.continue.dev/cli/quickstart) also lists flags that add rules, models or MCP components. These launch inputs belong in the diagnosis alongside the selected base configuration. Do not attribute every observed tool or instruction solely to the YAML file being edited. Capture the meaningful invocation and active selection before simplifying configuration; otherwise removing an apparently unused field may mask a dependency supplied from another source.

## Confirm a harmless configuration difference

Choose a visible, innocuous distinction such as a configuration name or available model entry, and confirm the intended artifact is selected. Then retry the operation that motivated the edit. [Progressive reading](/journal/learn-codex-progressive-reading/) keeps inspection focused on the actual configuration sources; [tool observations](/journal/learn-codex-tool-observation/) separate selection from successful model use. A selected label establishes which configuration is intended, while a bounded operation confirms that its relevant connection or tool works.
