Skip to content

Failed to parse config (workspace path in WSL2) #6339

Closed as not planned
Closed as not planned

Description

@SamTyurenkov

Before submitting your bug report

Relevant environment info

- OS: Windows11 + Debian WSL
- Continue version: v1.0.15
- IDE version: v1.101.2
- Model: gemma3n:e4b
- config:
  
%YAML 1.1
---
name: My Assistant
version: 1.0.0
schema: v1

models:
  - name: Gemma 3N e4b
    provider: ollama
    model: gemma3n:e4b
    roles:
      - chat
      - edit
      - apply
      - summarize
  - name: Nomic Embed Text
    provider: ollama
    model: nomic-embed-text
    roles:
      - embed

rules:
  - Give concise responses

docs:
  - name: Tailwind
    startUrl: https://tailwindcss.com/docs/
  - name: Block Editor
    startUrl: https://developer.wordpress.org/block-editor/
  - name: Gutenberg
    startUrl: https://github.com/WordPress/gutenberg/tree/trunk/docs
  - name: Roots Bedrock
    startUrl: https://github.com/roots/bedrock

context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase

Description

I wanted to move config.yaml from user space to workspace and have it saved in git.

Image

Config used to work when it was in user space in Windows system, however project is in WSL2 system and has /var/www/myproject/.continue/assistants/config.yaml path to config

but according to the error it doesn't even consider that path, and tries to search in windows user space:

Failed to parse config.json: Error: ENOENT: no such file or directory, open 'C:\Users\samty\.continue\config.json'
Error: Failed to parse config.json: Error: ENOENT: no such file or directory, open 'C:\Users\samty\.continue\config.json'
	at loadSerializedConfig (c:\Users\samty\.vscode\extensions\continue.continue-1.0.15-win32-x64\out\extension.js:641368:13)
	at loadContinueConfigFromJson (c:\Users\samty\.vscode\extensions\continue.continue-1.0.15-win32-x64\out\extension.js:641964:7)
	at doLoadConfig (c:\Users\samty\.vscode\extensions\continue.continue-1.0.15-win32-x64\out\extension.js:643102:27)
	at async _LocalProfileLoader.doLoadConfig (c:\Users\samty\.vscode\extensions\continue.continue-1.0.15-win32-x64\out\extension.js:643361:25)
	at async c:\Users\samty\.vscode\extensions\continue.continue-1.0.15-win32-x64\out\extension.js:643554:25

To reproduce

  1. Create a project in WSL
  2. Have Ollama and VScode installed in Windows
  3. Open project in VSCode with WSL mode
    Image
  4. create a workspace config and try to load it

Log output

Activity

  1. added
    area:configuration
    ide:vscode
    kind:bug
    on Jun 29, 2025
  2. added
    os:windows
    os:wsl
    on Jun 30, 2025
  3. jpoly1219 commented on Jun 30, 2025

    @jpoly1219
    Contributor

    Hi @SamTyurenkov ! Thanks for the PR.

    For now, could you make a global config.yaml in your .continue directory in your Windows filesystem, as per this docs here? There are some bugs with how the extension handles local assistants within WSL. I am collecting and reviewing WSL issues, so this is great for me to collect more info.

    We are currently working on cleaning up the docs regarding config.yaml as well 👍

  4. self-assigned this
    on Jun 30, 2025
  5. neodon commented on Jul 3, 2025

    @neodon

    Thanks @jpoly1219. I ran into the same issue, and it seems to be related to Continue only running as a local extension and not (yet) supporting running as a remote extension (via WSL, SSH, etc).

  6. neodon commented on Jul 3, 2025

    @neodon

    Update: I was able to get the extension to install in my WSL remote and it works now within my Linux environment. I had to uninstall the local version because it would automatically switch back to it.

    It keeps reminding me that "this extension prefers to run locally". I think GitHub Copilot used to be like this, but they've since updated it to prefer to run on remotes.

  7. neodon commented on Jul 3, 2025

    @neodon

    Pardon the multiple responses. For now, it is possible to force the Continue extension to run in the "workspace" (remote SSH or WSL) instead of "ui" (local system) with the following in your user (or remote or workspace) settings.json file:

      "remote.extensionKind": {
        "continue.continue": [
          "workspace"
        ]
      }

    This fixes several issues for me related to config and built-in tool file paths, as well as getting terminal commands to run correctly.

    I think it makes sense to update Continue's defaults to match this behavior when working in a remote (SSH, WSL, maybe devcontainers). I don't see any case where I would want to be working in a remote workspace but have Continue trying to use (non-existent or different) files/commands on the local host.

  8. SamTyurenkov commented on Jul 5, 2025

    @SamTyurenkov
    Author

    actually i just duplicated the project in the windows filesystem just to interact with Continue, but thanks for the insights on how to fix it, I will eventually try it out.

  9. github-actions commented on Oct 4, 2025

    @github-actions
    Contributor

    This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

  10. neodon commented on Oct 4, 2025

    @neodon

    This issue keeps me from wanting to try new Continue releases or recommend it to anyone. Other VSCode agent extensions I've tried (Cline, Codex, Claude, Kilo Code) don't have this issue because they correctly default the extensionKind to workspace.

  11. bijavix commented on Oct 29, 2025

    @bijavix

    @neodon thank you for the quick fix. The default behaviour is broken and searches for non-existing files. I hope this gets fixed some day.

  12. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

    This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

  13. github-actions commented on Feb 7, 2026

    @github-actions
    Contributor

    This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:configurationide:vscodekind:bugos:windowsos:wslstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions