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
Describe the bug
When enabling "Repository level" then I get RangeError: path should be a "path.relative()"d string, but got "/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js"
To Reproduce
Enable "Repository level", use model, provider, ... as described below.
Expected behavior
No error ;-)
Logging
2024-12-20 00:40:57.647 [error] RangeError: path should be a `path.relative()`d string, but got "/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js"
at throwError2 (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:20756:13)
at checkPath (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:20770:16)
at Ignore2._test (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:20858:9)
at Ignore2.ignores (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:20885:21)
at /home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:69747:28
at Array.filter (<anonymous>)
at CompletionProvider.getRelevantDocuments (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:69744:49)
at CompletionProvider.getPrompt (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:69866:46)
at async CompletionProvider.provideInlineCompletionItems (/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js:69592:20)
at async tU.provideInlineCompletions (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:139184)
API Provider
Ollama
Chat or Auto Complete?
FIM
Model Name
qwen2.5-code:7b-base
Desktop (please complete the following information):
OS: Ubuntu 22.04.5
Additional context
I fixed it this way, but I have not enough knowledge (yet) to decide whether this is correct:
Describe the bug
When enabling "Repository level" then I get
RangeError: path should be a "path.relative()"d string, but got "/home/user/.vscode/extensions/rjmacarthy.twinny-3.20.4/out/index.js"
To Reproduce
Enable "Repository level", use model, provider, ... as described below.
Expected behavior
No error ;-)
Logging
API Provider
Ollama
Chat or Auto Complete?
FIM
Model Name
qwen2.5-code:7b-base
Desktop (please complete the following information):
Additional context
I fixed it this way, but I have not enough knowledge (yet) to decide whether this is correct:
package-lock.json:
The text was updated successfully, but these errors were encountered: