Bug: YAML config path does not load workspace .continuerc.json files
Description
When using config.yaml (the default for new installations), workspace .continuerc.json files are completely ignored. Only users with config.json can use workspace-level configuration.
Location
core/config/yaml/loadYaml.ts-loadContinueConfigFromYamlfunctioncore/config/load.ts-loadContinueConfigFromJsonfunction
Problem
The JSON config loading path calls getWorkspaceRcConfigs(ide) to load and merge .continuerc.json files from workspace directories:
// In loadContinueConfigFromJson (load.ts)
const workspaceConfigs = await getWorkspaceRcConfigs(ide);
// ... then merges them into the config
The YAML config loading path has no equivalent - it never calls getWorkspaceRcConfigs:
// In loadContinueConfigFromYaml (loadYaml.ts)
// No call to getWorkspaceRcConfigs anywhere in the function
Impact
- Users with
config.yaml(the default) cannot use.continuerc.jsonfor per-repo settings - This is a significant feature gap between the two config formats
- Documentation about
.continuerc.jsondoesn't mention this limitation
Expected behavior
Both config paths should load and merge .continuerc.json files from workspace directories.
Workaround
Rename ~/.continue/config.yaml to config.yaml.bak and create a ~/.continue/config.json instead.
Related issues:
- #9312 - Bug: .continuerc.json files fail to load due to 'this' binding issue
- #3892 - .continuerc.json not overriding config.json for Android Studio
- #2121 - Using a symlink for ".continuerc.json" does not work
- #4919 - Track config loading sources and display in settings page (closed)
- #5817 - Continue is looking for configuration in config.json instead of local .continue/yamls (closed)
:tada: This issue has been resolved in version 1.41.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: