continue
continue copied to clipboard
The context item in codebase retrieval cannot be clicked to navigate
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- Continue:v0.9.203-vscode
Description
The context item in codebase retrieval cannot be clicked to navigate. error log
A rejected promise was not handled within 1 second: CodeExpectedError: Unable to open file:///2a2ec105-706f-47ff-b169-c225831431ad. Details: Cannot read file '/2a2ec105-706f-47ff-b169-c225831431ad' (Error: Unable to parse non-existent file '/2a2ec105-706f-47ff-b169-c225831431ad')
contextItem json data
{
"name": "test.js (0-37)",
"description": "/Users/anrgct/workspace/continue/manual-testing-sandbox/test.js (0-37)",
"content": "```test.js (0-37)\nclass Calculator {\n constructor() {\n this.result = 0;\n }\n\n add(number) {\n this.result += number;\n return this;\n }\n\n subtract(number) {\n this.result -= number;\n return this;\n }\n\n multiply(number) {\n this.result *= number;\n return this;\n }\n\n divide(number) {\n if (number === 0) {\n throw new Error(\"Cannot divide by zero\");\n }\n this.result /= number;\n return this;\n }\n\n getResult() {\n return this.result;\n }\n\n reset() {\n this.result = 0;\n return this;\n }\n}\n\n```",
"id": {
"providerTitle": "codebase",
"itemId": "15a0778c-d1d6-4c41-b5f9-8cae85feb684"
}
}
I found a relevant piece of code but I don't know how to modify it
To reproduce
No response
Log output
No response