TECHNOLOGY

Continue CLI can reuse a saved configuration before the default file

In this article
THE QUICK TAKE

When a Continue CLI configuration edit appears ineffective, identify the selected configuration before changing model credentials or rewriting the default file.

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 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 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 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 keeps inspection focused on the actual configuration sources; tool observations 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.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles