Skip to content

Incorrect path to local customized assistants #5614

Closed
@ShuguangSun

Description

@ShuguangSun

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 1.0.9
- IDE version: VScode 1.100.0
- Model:
- config:
  

  
  OR link to assistant in Continue hub:

Description

I have some assistants defined in the $USERPROFILE.continue\assistants and I can find them in the menu of Assisstants. However when I want to switch to one of them, it raise error as bellow. It is not clear why there is leading "D:" in the path.

ENOENT: no such file or directory, open 'D:\C:\Users\<username>\.continue\assistants\code_assistants.yaml'

To reproduce

  1. put a code_assistants.yaml in $USERPROFILE\.continue\assistants
  2. switch to code_assistants in continue

Log output

[Extension Host] {"level":"info","message":"Loading config.yaml from {\"uriType\":\"file\",\"filePath\":\"file:///C:/Users/<username>/.continue/assistants/code_assistants.yaml\"} with root path C:/Users/<username>/.continue/assistants"}
workbench.desktop.main.js:sourcemap:3283 Extension Host
workbench.desktop.main.js:sourcemap:3283 {"level":"info","message":"Loading config.yaml from {\"uriType\":\"file\",\"filePath\":\"file:///C:/Users/<username>/.continue/assistants/code_assistants.yaml\"} with root path C:/Users/<username>/.continue/assistants"}

Metadata

Metadata

Labels

area:configurationRelates to configuration optionside:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions