continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.25k stars 1.66k forks source link

WSL paths not resolved correctly using RepoMap context provider #2898

Open simon376 opened 3 days ago

simon376 commented 3 days ago

Before submitting your bug report

Relevant environment info

- OS: Windows (WSL: Ubuntu 22.04)
- Continue version: 0.9.228 (pre-release)
- IDE version: VSCode 1.92.2
- Model: Qwen2.5-Coder-32B
- config.json:

...

Description

unix filepaths gathered by the RepoMap context provider are wrongly resolved to windows file paths that ofc doesn't exist. this leads to errors when trying to read any of the file contents and in the end leaves one with an "repository map" which only contains a filetree, but no file content. below error is logged for all files mentioned in the requested repository map. image

Another bug, probably loosely related to this: When clicking on the context item "Repository Map" in the chat interface, the following error is logged as well: image

To reproduce

  1. use context provider @repomap inside a WSL project

Log output

No response

RomneyDa commented 3 days ago

LInking to #2780