Skip to content

Bug: YAML config path does not load workspace .continuerc.json files #9313

@shanevcantwell

Description

@shanevcantwell

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 - loadContinueConfigFromYaml function
  • core/config/load.ts - loadContinueConfigFromJson function

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.json for per-repo settings
  • This is a significant feature gap between the two config formats
  • Documentation about .continuerc.json doesn'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.

Metadata

Metadata

Labels

area:configurationRelates to configuration optionskind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions