You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Continue is looking for configuration in config.json instead of local .continue/yamls #5817
- OS: Windows WSL2 + Devcontainer
- Continue version: 1.1.39
- IDE version: 1.99.3
- Model: Gemini
- config: workspace/.continue/assistants/go-assistant.yaml
name: go-assistant
version: 1.0.0
schema: v1
models:
- name: Gemini-Flash-Chat
provider: gemini
model: gemini-2.5-flash-preview-05-06
apiKey:
roles:
- chat
- edit
- apply
capabilities:
- tool_use
defaultCompletionOptions:
temperature: 0.7
maxTokens: 65535
contextLength: 1048576
OR link to assistant in Continue hub:
Description
Failed to parse config.json: Error: ENOENT: no such file or directory, open 'C:\Users\user\.continue\config.json'
Error: Failed to parse config.json: Error: ENOENT: no such file or directory, open 'C:\Users\user\.continue\config.json'
at loadSerializedConfig (c:\Users\user\.vscode\extensions\continue.continue-1.1.39-win32-x64\out\extension.js:642483:13)
at loadContinueConfigFromJson (c:\Users\user\.vscode\extensions\continue.continue-1.1.39-win32-x64\out\extension.js:643073:7)
at doLoadConfig (c:\Users\user\.vscode\extensions\continue.continue-1.1.39-win32-x64\out\extension.js:644241:27)
at async _LocalProfileLoader.doLoadConfig (c:\Users\user\.vscode\extensions\continue.continue-1.1.39-win32-x64\out\extension.js:644464:25)
at async c:\Users\user\.vscode\extensions\continue.continue-1.1.39-win32-x64\out\extension.js:644656:23
It is indeed sourcing config.json, if creating a valid config.json continue is pulling config from there.
I belive there is other issues related to local config but none about the config.json for local assistant.
To reproduce
Install continue
Create a global local assistant yaml in home
Create a local assistant in workspace
Load configuration
@supergeoff Do you have a file at C:\Users\user.continue\config.yaml? Continue will always look for either ~/.continue/config.json or ~/.continue/config.yaml as the default assistant
If this isn't the problem, can you explain a bit more clearly what you are expecting to happen vs. what is actually happening?
config: /var/www/html/.continue/assistants/makumaker2.yaml (added inside the src folder mounted to html in container
A default config Local Assistant is located in the local machine default location.
The local and the Makumaker assistants are both listen in the chat window, Local Assistant works fine, switching to the Makumaker assistant throws error
Error 1 was the same as the one mentioned in this bug report.
Workaround tried was to create a config.json inside the default config folder with just a {} inside.
Error 1 resolved and now a new Error 2 is thrown The 'models' field should be an array.
My guess is that it tries to read from config.json when i switch to the custom assistant config
Expected result, plugin loads the custom config from local workspace inside docker container
@supergeoff Do you have a file at C:\Users\user.continue\config.yaml? Continue will always look for either ~/.continue/config.json or ~/.continue/config.yaml as the default assistant
If this isn't the problem, can you explain a bit more clearly what you are expecting to happen vs. what is actually happening?
I do have a config.yaml in my ~/.continue with global configuration. It works. I'm trying to setup a workspace .continue/assistant/config.yaml.
When doing so : it complains about laking a config.json in ~/.continue (global location). I've tried to create such config.json with the now depreciated schema and it stop the error but read the configuration from said config.json... which is both global and depreciated, ignoring my config.yaml (in local workspace) i can still select the global config.yaml in the plugins assistant list. It works fine.
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.
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!
Activity
sestinj commentedon May 25, 2025
@supergeoff Do you have a file at C:\Users\user.continue\config.yaml? Continue will always look for either ~/.continue/config.json or ~/.continue/config.yaml as the default assistant
If this isn't the problem, can you explain a bit more clearly what you are expecting to happen vs. what is actually happening?
sherbieny-Osakabiso commentedon May 27, 2025
Hello,
Getting same Error. When trying to load an assistant config while inside a docker container with vscode
MacOs: Sequoia 15.5
Docker Desktop
VSCode:
Version: 1.100.2 (Universal) Commit: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e Date: 2025-05-14T21:47:40.416Z Electron: 34.5.1 ElectronBuildId: 11369351 Chromium: 132.0.6834.210 Node.js: 20.19.0 V8: 13.2.152.41-electron.0 OS: Darwin arm64 24.5.0Plugin Version: 1.1.40
config: /var/www/html/.continue/assistants/makumaker2.yaml (added inside the
srcfolder mounted tohtmlin containerA default config
Local Assistantis located in the local machine default location.The local and the
Makumakerassistants are both listen in the chat window, Local Assistant works fine, switching to the Makumaker assistant throws errorError 1 was the same as the one mentioned in this bug report.
Workaround tried was to create a config.json inside the default config folder with just a
{}inside.Error 1 resolved and now a new Error 2 is thrown
The 'models' field should be an array.My guess is that it tries to read from config.json when i switch to the custom assistant config
supergeoff commentedon May 27, 2025
I do have a config.yaml in my ~/.continue with global configuration. It works. I'm trying to setup a workspace .continue/assistant/config.yaml.
When doing so : it complains about laking a config.json in ~/.continue (global location). I've tried to create such config.json with the now depreciated schema and it stop the error but read the configuration from said config.json... which is both global and depreciated, ignoring my config.yaml (in local workspace) i can still select the global config.yaml in the plugins assistant list. It works fine.
I don't know if it makes more sens.
github-actions commentedon Aug 26, 2025
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.
github-actions commentedon Sep 6, 2025
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!